mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Check for toast before waiting for page to finish loading to avoid mi… (#24424)
* Check for toast before waiting for page to finish loading to avoid missing the toast by the time the page finishes * turn test back on
This commit is contained in:
parent
a86998a0fc
commit
fb7dbaeb6a
2 changed files with 2 additions and 4 deletions
|
@ -80,7 +80,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
await dashboardExpect.vegaTextsDoNotExist(['5,000']);
|
||||
};
|
||||
|
||||
describe.skip('dashboard embeddable rendering', function describeIndexTests() {
|
||||
describe('dashboard embeddable rendering', function describeIndexTests() {
|
||||
before(async () => {
|
||||
await PageObjects.dashboard.clickNewDashboard();
|
||||
|
||||
|
|
|
@ -317,11 +317,9 @@ export function DashboardPageProvider({ getService, getPageObjects }) {
|
|||
await this.clickSave();
|
||||
}
|
||||
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
|
||||
// Confirm that the Dashboard has actually been saved
|
||||
await testSubjects.existOrFail('saveDashboardSuccess');
|
||||
|
||||
await PageObjects.header.waitUntilLoadingHasFinished();
|
||||
await this.waitForSaveModalToClose();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue