e2e-testing Questions

3

I have two sibling spans in my DIV. I am doing E2E testing in Blazor and I want to access the second Span content (@Status). <div> <span> Status:</span> <span> @Status<...
Seif asked 4/8, 2022 at 18:9

3

Solved

I am writing E2E tests for a website using Cypress.io. One of the features I would like to test is that the site correctly detects focus lost and displays an (angular material) dialog box. The issu...
Nimble asked 18/5, 2018 at 13:11

6

Solved

How to interrupt all Cypress tests on the first test failure? We are using semaphore to launch complete e2e tests with Cypress for each PR. But it takes too much time. I'd like to interrupt all ...
Corrida asked 7/5, 2020 at 15:40

4

Solved

I am using Playwright for the e2e tests. The problem statement that I have is that I want to get the text contents of all the rows of a specific column of a table. The table in question is just lik...
Coracle asked 7/6, 2022 at 9:29

17

Solved

I want to toggle only running one test, so I don't have to wait for my other tests to see the result of one test. Currently, I comment out my other tests, but this is really annoying. Is there a ...
Necklace asked 7/3, 2019 at 23:14

5

I'm testing a web app that integrates Gmail, Slack, Dropbox etc. I'm trying to write end to end tests with Cypress.io to verify that auth flows are working. Cypress restricts me from navigating out...
Perky asked 23/5, 2018 at 19:21

2

Solved

What I'm trying to do Test a website that requires microphone access with playwright The problem Pop-up in question comes up and seems to ignore supposedly granted permissions. Permission can be gi...
Glaive asked 14/3, 2022 at 0:45

7

Solved

No matter what I do I get an error (either X.cookies is not a function or X.addCookies is not a function). I tried with context, page.context. browserContext etc. and it always ends up in the same ...
Ochre asked 5/10, 2020 at 15:19

3

My question is simple but I don't understand if it's possible and, in this case, how it's possible. I would like to use the puppeteer library in an Angular application using the npm package, but I ...
Swaggering asked 26/7, 2018 at 10:4

2

Solved

The code I’m testing has a lot of <a> tag elements that render with an href tag but shortly after page load are given some click event that does something different (such as opening a modal)....
Babblement asked 2/11, 2023 at 20:55

2

Solved

I want to test that my forms are accessible and that I can tab between my input elements. I found this github issue asking for the feature here: https://github.com/cypress-io/cypress/issues/299 Cu...
Galligaskins asked 5/3, 2019 at 18:29

3

Solved

I want to pass a custom profile to Puppeteer. To start I've tried to pass my real Google Chrome profile: const browser = await puppeteer.launch({ userDataDir: '/Users/[USERNAME]/Library/Applicati...

3

How can I scroll up and scroll down using TestCafe? I tried window.scroll(), window.scrollTo()and throws an error window is not defined.
Labiche asked 30/9, 2019 at 21:23

2

Solved

Lately I found playwright and it seems really nice. The problem I found is in implementation of cucumber or gherkin syntax generally. While in cypress for example its pretty easy task here it looks...
Inkling asked 29/1, 2022 at 20:59

1

This is a fairly high-level question regarding design patterns/best practices when developing end-to-end tests in SvelteKit+Playwright: What is the recommended way of ensuring that any back-end cod...
Freesia asked 20/6, 2022 at 18:58

3

In real app, we write: export class AppModule implements NestModule { constructor() {} configure(consumer: MiddlewareConsumer) { consumer.apply(JwtExtractionMiddleware).forRoutes({ path: 'gra...
Symbolize asked 13/9, 2018 at 14:18

9

Solved

I'm using Puppeteer for E2E test, and I am now trying to fill an input field with the code below: await page.type('#email', '[email protected]'); It worked, but I found the email address wa...

0

I'm trying to find any docs or examples of how to mock server side requests with Playwright e2e testing. The official documentation on Playwright shares examples of how to mock/intercept client sid...
Whit asked 27/6, 2023 at 19:2

3

Solved

When I try to use cypress open or cypress run, I get the following error: ✖ Verifying Cypress can run /*/*/.cache/Cypress/3.1.5/Cypress → Cypress Version: 3.1.5 Cypress failed to start. This is...
Sulphuric asked 7/3, 2019 at 23:28

3

here is my test: describe('settings page test', () =>{ it('tests navigation to settings page from login', () =>{ console.log(Cypress.config().baseUrl) cy.visit(Cypress.config().baseurl) t...
Achaean asked 4/5, 2021 at 19:58

1

Description: The bug has been introduced preventing the customer to click on an element that he was would be supposed to click How? Steps explanation: Here is what happens on our payment page appli...
Nameless asked 6/6, 2023 at 9:21

7

Is it possible to redirect or capture Cypress browser log and command log to output? I read some Cypress github issues on this topic. But I don't know how to make it work. Basically, I want to capt...
Veinstone asked 29/8, 2018 at 5:48

6

Solved

My question is about configuring Cypress to launch a browser instance in a certain language. In order to: make assertions on localized (i18n) text labels? check i18n features (switching betw...
Anastigmat asked 27/6, 2019 at 13:11

3

I am using default built-in logger in NestJS form simple logging during development. But when I run e2e tests there is no logger output on console. A really need this, to see what is happening when...
Intisar asked 30/3, 2022 at 13:10

6

Solved

I have an editor page. When I add any content and click the "Save" button my URL will change, adding a random id in the URL. I want to check if my ID's are changing every time when I click the "Sav...
Geibel asked 27/6, 2019 at 11:46

© 2022 - 2024 — McMap. All rights reserved.