square-fountain-93217
07/27/2021, 3:58 PM{multiple: true}
. The problem with that is that when I pass that option, as it clicks sequentially the first click shows the list and the subsequent ones close it, so I can never get()
the element I want inside the list.bulky-sundown-74498
07/27/2021, 4:00 PMbulky-sundown-74498
07/27/2021, 4:01 PMcy.contains('button', 'text of your button').click()
so that it does not bubble up?square-fountain-93217
07/27/2021, 4:17 PMsquare-fountain-93217
07/27/2021, 4:17 PMbulky-sundown-74498
07/27/2021, 4:19 PMbulky-sundown-74498
07/27/2021, 4:21 PMbulky-sundown-74498
07/27/2021, 4:21 PMsquare-fountain-93217
07/27/2021, 4:30 PMuser
07/27/2021, 4:51 PMancient-wire-34126
07/28/2021, 8:33 PMts
before(() => {
console.log('1. login')
cy.loginByCognitoMock(utils.LOGIN_EMAIL_OWNER)
console.log('2. profile')
cy.visit('/account/profile')
})
ancient-wire-34126
07/28/2021, 8:38 PMancient-wire-34126
07/28/2021, 8:41 PMrhythmic-army-81251
08/02/2021, 7:48 PMrhythmic-army-81251
08/02/2021, 7:48 PMrhythmic-army-81251
08/02/2021, 7:49 PMts
import dayjs from 'dayjs';
import 'dayjs/locale/en-gb.js';
beforeEach(() => {
dayjs.locale('en-gb');
});
rhythmic-army-81251
08/02/2021, 7:49 PMrhythmic-army-81251
08/02/2021, 7:50 PMts
describe('x', () => {
it('should', () => {
cy.log(dayjs.locale()); // prints en
});
});
wooden-refrigerator-71139
08/03/2021, 11:28 AMancient-wire-34126
08/03/2021, 2:23 PMancient-wire-34126
08/03/2021, 3:05 PMancient-wire-34126
08/03/2021, 3:08 PMancient-wire-34126
08/03/2021, 3:09 PMrhythmic-army-81251
08/03/2021, 5:17 PMrhythmic-army-81251
08/03/2021, 5:18 PMancient-wire-34126
08/03/2021, 5:25 PMancient-wire-34126
08/03/2021, 5:25 PMuser
08/04/2021, 5:19 PMsh
Error: ENOENT: no such file or directory, open '/home/runner/work/myapp/package-lock.json'
Action:
yml
- name: E2E tests
uses: cypress-io/github-action@v2
with:
install-command: pnpm install
start: |
pnpm start:server &
sleep 10 &&
pnpm start &
sleep 10
wait-on: 'http://localhost:4200'
How can I switch to the pnpm-lock.yaml
instead of package-lock.json
?bitter-london-76358
08/04/2021, 11:09 PMgetItem
is returning null
or not, leading me to believe this is not working since it should in theory fail on a null check. Here is a snippet:bitter-london-76358
08/05/2021, 4:05 PM