mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Adjust flaky Cypress test (#7451)
This commit is contained in:
parent
87717df1da
commit
9ef0972bd5
1 changed files with 4 additions and 1 deletions
|
|
@ -268,15 +268,18 @@ describe("Policies flow (empty)", () => {
|
|||
{ parseSpecialCharSequences: false }
|
||||
);
|
||||
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
||||
cy.wait(700); // wait for text input debounce
|
||||
cy.wait(1000); // wait for text input debounce
|
||||
cy.getAttached(".platform").each((el, i) => {
|
||||
testCompatibility(el, i, [true, false, true]);
|
||||
});
|
||||
|
||||
// Query with only macOS tables treated as compatible only with macOS
|
||||
// eslint-disable-next-line cypress/no-unnecessary-waiting
|
||||
cy.getAttached(".ace_scroller")
|
||||
.first()
|
||||
.click({ force: true })
|
||||
.type("{selectall} ")
|
||||
.wait(300) // wait for ace to clear text before proceeding
|
||||
.type(
|
||||
"{selectall}SELECT 1 FROM gatekeeper WHERE assessments_enabled = 1;"
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue