add delay
parent
ada9d7caf1
commit
586256ac31
|
|
@ -1,5 +1,5 @@
|
|||
import { testView } from '../../../test/_globals.js';
|
||||
import { logout, login } from '../../support/index.js';
|
||||
import { logout, login, ajaxDelayMillis } from '../../support/index.js';
|
||||
describe('Work Order Milestone Calendar', () => {
|
||||
beforeEach(() => {
|
||||
logout();
|
||||
|
|
@ -9,6 +9,7 @@ describe('Work Order Milestone Calendar', () => {
|
|||
it('Has no detectable accessibility issues', () => {
|
||||
cy.visit('/workOrders/milestoneCalendar');
|
||||
cy.location('pathname').should('equal', '/workOrders/milestoneCalendar');
|
||||
cy.wait(ajaxDelayMillis);
|
||||
cy.injectAxe();
|
||||
cy.checkA11y();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { testView } from '../../../test/_globals.js'
|
||||
|
||||
import { logout, login } from '../../support/index.js'
|
||||
import { logout, login, ajaxDelayMillis } from '../../support/index.js'
|
||||
|
||||
describe('Work Order Milestone Calendar', () => {
|
||||
beforeEach(() => {
|
||||
|
|
@ -13,6 +13,7 @@ describe('Work Order Milestone Calendar', () => {
|
|||
it('Has no detectable accessibility issues', () => {
|
||||
cy.visit('/workOrders/milestoneCalendar')
|
||||
cy.location('pathname').should('equal', '/workOrders/milestoneCalendar')
|
||||
cy.wait(ajaxDelayMillis)
|
||||
cy.injectAxe()
|
||||
cy.checkA11y()
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue