Fix flaky test where modal dialog isn't loaded when enter key is pressed (#20035)
This commit is contained in:
parent
4661d8543c
commit
e35b40e946
1 changed files with 3 additions and 1 deletions
|
@ -59,12 +59,14 @@ export default function ({ getService, getPageObjects }) {
|
|||
});
|
||||
});
|
||||
|
||||
describe.skip('delete', async function () {
|
||||
describe('delete', async function () {
|
||||
it('default confirm action is cancel', async function () {
|
||||
await PageObjects.dashboard.searchForDashboardWithName(dashboardName);
|
||||
await PageObjects.dashboard.checkDashboardListingSelectAllCheckbox();
|
||||
await PageObjects.dashboard.clickDeleteSelectedDashboards();
|
||||
|
||||
await PageObjects.common.expectConfirmModalOpenState(true);
|
||||
|
||||
await PageObjects.common.pressEnterKey();
|
||||
|
||||
await PageObjects.common.expectConfirmModalOpenState(false);
|
||||
|
|
Loading…
Reference in a new issue