polite-garage-57372
12/20/2022, 5:01 PM"cy:open": "cypress open --config-file=cypress/configs/$npm_config_env.config.ts"
polite-garage-57372
12/20/2022, 5:01 PMhundreds-rainbow-52802
12/20/2022, 5:14 PMstrong-football-17493
12/20/2022, 5:29 PMdescribe('TEST PLAN', { env: { yourKey: 'yourValue' } }, () => { ... });
hundreds-rainbow-52802
12/20/2022, 6:12 PMhundreds-rainbow-52802
12/20/2022, 6:18 PMhundreds-rainbow-52802
12/20/2022, 6:55 PMhundreds-rainbow-52802
12/20/2022, 7:04 PMstraight-rose-89671
12/21/2022, 9:48 AMcy.getBySel('test-wrapper')
.should("have.length.greaterThan", 1)
.and('have.class', 'highlight')
.then(() => {
cy.get('.highlight')
.should("be.visible");
})
Nvm found how.. lolfresh-doctor-14925
12/21/2022, 9:51 AMeach()
ripe-traffic-15039
12/21/2022, 11:07 AMripe-traffic-15039
12/21/2022, 11:08 AMripe-traffic-15039
12/21/2022, 11:08 AMripe-traffic-15039
12/21/2022, 11:09 AMripe-traffic-15039
12/21/2022, 11:09 AMripe-traffic-15039
12/21/2022, 11:10 AMfresh-doctor-14925
12/21/2022, 11:12 AMCypress.Commands.add('beforeEach')
for startersthankful-wire-37848
12/21/2022, 11:12 AMCypress.Commands.add('beforeEach'...
thankful-wire-37848
12/21/2022, 11:15 AMbeforeEach(() => cy.login())
insteadripe-traffic-15039
12/21/2022, 11:17 AMripe-traffic-15039
12/21/2022, 11:18 AMripe-traffic-15039
12/21/2022, 11:19 AMripe-traffic-15039
12/21/2022, 11:20 AMripe-traffic-15039
12/21/2022, 11:20 AMthankful-wire-37848
12/21/2022, 12:42 PMit.only(...)
) so you check if the problem is in the test or in the setupripe-traffic-15039
12/21/2022, 12:44 PMsticky-energy-17458
12/21/2022, 4:35 PMastonishing-window-24437
12/21/2022, 4:36 PMastonishing-window-24437
12/21/2022, 4:37 PMastonishing-window-24437
12/21/2022, 4:38 PM