bright-park-76512
11/09/2022, 11:38 AMgray-kilobyte-89541
11/09/2022, 11:38 AM/deleteGame
gray-kilobyte-89541
11/09/2022, 11:39 AMgray-helmet-2693
11/09/2022, 11:41 AMsteep-scientist-25280
11/09/2022, 12:07 PMbright-park-76512
11/09/2022, 12:25 PMstale-policeman-71052
11/09/2022, 4:12 PMenough-truck-68085
11/09/2022, 4:25 PMrough-petabyte-49242
11/09/2022, 5:41 PMjolly-musician-21682
11/09/2022, 9:07 PMcypress/included:10.3.1-typescript
I am wondering if there's anything I can do to improve this?
I commented out the cypress/package.json part because I was getting an unknown file extension error.
FROM cypress/included:10.3.1-typescript
ARG PIX_UI_NPM_TOKEN
# Copy the pix-one source files into the container in the name of peace and sanity
COPY . /app_root
WORKDIR /app_root
# Since we only need a subset of dependencies to run cypress, we overwrite the pix-one package.json with this cypress-specific one
# RUN mv cypress/package.json /app_root
# This will result in a node_modules directory being created within the container, inside the /app_root folder
RUN yarn
ARG CYPRESS_PIPELINE
adorable-smartphone-87280
11/09/2022, 9:13 PM--parallel
flag in my run script, but in the terminal output from the Github Actions job, I don't see that flag included. Any idea why that wouldn't be getting picked up?enough-truck-68085
11/09/2022, 9:35 PMdata-testid
attributes. I'd recommend this approach if what you are doing isn't working but please share more details if this isn't a viable solution.
https://docs.cypress.io/guides/references/best-practices#Selecting-Elementsnutritious-megabyte-64190
11/09/2022, 11:59 PM// suedo code detailing the redirects as soon as cy.visit() hits
cy.visit(https://baseurl/3rdPartyVendor/)
-> 301: https://companyName--dev.DOMAIN1.com/wizardry/services/auth/sso/OauthClient
-> 302: https://baseurl/auth?response_type=gobblygook=redirect_uri=companyName--dev.DOMAIN1.com
-> 302: https://baseurl/something
after the last 302 we land on
https://companyName--dev.DOMAIN1.com/comms/aaaa
//the code
cy.visit(https://baseurl/3rdPartyVendor/);
cy.origin('companyName--dev.DOMAIN1.com', () => {
//url assertion below works
cy.url().should('contain', 'https://companyName--dev.DOMAIN1.com/comms/aaaa');
//but cant do any ui actions because page is blank
});
any ideas why the page is blank i cant tell if im doing it wrong, i do know that other tests I have that dont have multiple redirects work as intendedgentle-processor-97604
11/10/2022, 12:10 AMgentle-processor-97604
11/10/2022, 12:10 AMgentle-processor-97604
11/10/2022, 12:10 AMstale-ambulance-65138
11/10/2022, 6:18 AMrough-petabyte-49242
11/10/2022, 8:43 AMrough-petabyte-49242
11/10/2022, 8:43 AMenough-fireman-4779
11/10/2022, 8:52 AMfresh-doctor-14925
11/10/2022, 9:57 AMenough-truck-68085
11/10/2022, 3:51 PMcy.wrap
https://docs.cypress.io/api/commands/wrap#Yields
typeField(nameField, test) {
this.editInformationBtn()
.click();
// Try cy.wrap
nameField.then((field) => {
cy.wrap(field).clear().type(test)
})
this.saveBtn()
.click()
};
Then I imagine in your test you could call this method by doing
agentProfile.typeField(agentProfile.firstNameEdit(), "textHere")
better-ocean-83368
11/10/2022, 4:35 PMrough-petabyte-49242
11/10/2022, 4:35 PMenough-truck-68085
11/10/2022, 4:44 PMcy.wrap
type command doesn't work. Can you review your selectors and ensure they are correct.
Feel free to try other selectors to test if the wrap works in the meantimerough-petabyte-49242
11/10/2022, 5:25 PMenough-truck-68085
11/10/2022, 5:33 PMjolly-musician-21682
11/10/2022, 7:23 PMFROM cypress/included:5.1.0
new FROM cypress/included:11.0.0
numerous-coat-63600
11/11/2022, 12:02 AMaloof-psychiatrist-45078
11/11/2022, 2:27 AMcypress-react-selector
package?