end-to-end Questions
8
Solved
I'm running cypress tests headlessly and would like the console output to be a little more readable. Currently, I get a very messy output as seen below. According to the documentation it should be ...
Retardant asked 6/2, 2018 at 2:51
2
When you are doing e2e tests for your application, you want to test the whole application, not some portions of it like unit tests or integration testing.
But in some situations, people do mock API...
Dresser asked 22/4, 2022 at 12:54
8
Solved
In Cypress, I want to select a button from a group of buttons based on its text-content. How can I do it? Here is my approach:
export const getCustomerButton = () => getNavigationSidenav()
.fi...
Astronomical asked 17/8, 2019 at 6:10
5
I have a grouping of Cypress tests that are failing, only in my Jenkins environment. An entire describe block is failing to find an element. Every test in the block starts with the same commands:
d...
Desdamonna asked 13/8, 2021 at 18:30
4
Cypress's visible matcher treats an element as visible based on a variety of factors, however it doesn't take the viewport into account, so an element that is scrolled off-screen is still treated a...
Tutankhamen asked 5/11, 2019 at 14:25
5
I want to get a text from a div with a class name of .inventory_item_name. The HTML looks like this:
<div class="inventory_item_name">Backpack</div>
And my JS code is as foll...
Grandpa asked 16/7, 2020 at 10:39
2
Solved
I have the following parameters for the same test:
a | b | c
1 | 2 | 3
11 | 22 | 33
Spock provides the @Unroll annotation for tests similar to this (with this set of parameters you can run to...
Convolvulus asked 10/8, 2017 at 19:47
2
I'm trying to test my chrome-extension using cypress.io
I installed https://github.com/ejoubaud/cypress-browser-extension-plugin
context('visit extension', () => {
beforeEach(() => {
cy.v...
Curlpaper asked 6/1, 2020 at 8:38
2
Solved
I can't 'catch' requests to BE with Cypress. And even more, I can't see some XHR requests to BE, but they are in DevTools. I've added a screenshot with arrows to describe the problem better.
I ca...
Instrumentalist asked 15/4, 2020 at 17:57
3
Solved
I want to write end-to-end tests for web-application on Ionic with stripe-payments and have problem to type card number in stripe iframe field.
I checked Testing Stripe Elements with Cypress ...
Trembly asked 18/11, 2021 at 12:38
4
Solved
In Flutter end-to-end testing, a permission is to be allowed during the test. driver.tap(find.text("ALLOW") does not work. How to click "ALLOW".
Georgiageorgian asked 5/12, 2018 at 21:51
3
I am using the jest-playwright library (https://github.com/playwright-community/jest-playwright) to perform end-to-end testing. In the jest.config.js file you can set an option to ignore SSL errors...
Bummer asked 11/4, 2021 at 17:55
2
I am trying to check if element doesn't exist in a DOM Tree with Cypress and testing-library/cypress.
If I try to do cy.getByTestId("my-button").should("not.exist") test fails because it couldn't ...
Burck asked 22/11, 2019 at 14:9
4
Solved
works on www.github.com
cy.visit() failed trying to load ESOCKETTIMEDOUT
but not on other websites
Stanislas asked 29/8, 2021 at 17:25
5
Im currently working on e2e test in Chrome Puppeteer. I am at the stage where it would be ideal to integrate my tests in the development process.
What I want to accomplish is the following: my te...
Recor asked 6/2, 2018 at 8:50
3
Solved
I have a span element which value is 2. I would like to check if the value is greater than 0, but after checked online and implemented every method, it did not work...
Here is the console when I lo...
Czernowitz asked 14/9, 2021 at 15:36
5
Solved
I'm trying to automate my tests with Protractor and Appium for an AngularJS site with jasmine framework in iPad simulator, sendkeys() function is working for username and password, but when i click...
Reserve asked 26/4, 2016 at 16:50
4
Solved
I am new to ProtractorJS.
What I am trying to do is trying to get the value of a disabled input element.
This input element is bound to a model. Initially this input element is empty; then after s...
Erstwhile asked 18/3, 2015 at 4:23
2
After reading the Cypress documentation on web security and when to disable it, I've decided I indeed need to do it. Is there a way to disable this just for one particular test/test suite? I'm usin...
Gassing asked 22/9, 2019 at 10:0
2
Solved
I want to handle some requests for some files when I open the page. On the screenshot, you can see the log from the cypress panel:
To handle these requests I added code like this:
it('Check inter...
Marcus asked 1/6, 2021 at 11:28
3
Solved
What is the difference between functional test and end-to-end test?
Techopedia says that end-to-end test is
a methodology used to test whether the flow of
an application is performing as desi...
Wildee asked 13/2, 2018 at 8:40
5
Solved
I have a form with two fields username and password. Once the username is entered the next button is enabled, once I click on it, it shows a password field and once that's entered, it enables the n...
Hallo asked 23/1, 2020 at 15:58
3
Solved
I am assuming that browser.wait should be a blocking call, but it is not working as I expected. Here is my sample:
describe("browser.wait", function() {
beforeEach(function() {
browser.wait(fun...
Jaws asked 6/1, 2015 at 16:50
2
Solved
I'm trying to count the elements in repeater and to print it to console.
This is the markup:
<div class="col-md-3 ng-scope" ng-repeat="app in userApps" >...< /div>
currently I'm c...
Gouveia asked 21/1, 2015 at 14:55
4
Solved
In one of my tests, I'm locating an element using a CSS selector:
element(by.css("ul.nav button"))
There is more than one element matching the query, but, since I need only the first one, I'm ok...
Profusion asked 11/2, 2015 at 21:13
1 Next >
© 2022 - 2024 — McMap. All rights reserved.