green-boots-72737
11/08/2022, 2:02 PMquiet-tiger-15778
11/08/2022, 2:25 PMbrash-scientist-28014
11/08/2022, 2:41 PMclean-intern-72668
11/08/2022, 2:41 PMmysterious-belgium-25713
11/08/2022, 2:59 PMbrash-scientist-28014
11/08/2022, 3:00 PMfresh-doctor-14925
11/08/2022, 3:09 PMlively-kitchen-54916
11/08/2022, 3:21 PMbrash-scientist-28014
11/08/2022, 3:32 PM/// <reference types="cypress" />
import { loginPage } from "../../../../page-objects/loginPage";
import { somePage } from "../../../../page-objects/somePage";
const loginPage = new somePage
const somePage = new somePage
describe('testname', () => {
before('open page', () => {
cy.visit('https://page.com')
})
it('should login as someone', () => {
loginPage.loginPerson()
cy.contains('This is visible').should('be.visible')
//clicking a button
cy.contains('Start').click('right')
//this opens another page than the page.com
cy.origin('https://another.com', () => {
//here i want to use the objects / functions that are written in the somePage class.
})
})
})
rapid-belgium-97056
11/08/2022, 4:03 PMmysterious-belgium-25713
11/08/2022, 5:01 PMrapid-belgium-97056
11/08/2022, 5:02 PMmysterious-belgium-25713
11/08/2022, 5:03 PMrapid-belgium-97056
11/08/2022, 5:03 PMrapid-belgium-97056
11/08/2022, 5:03 PMmysterious-belgium-25713
11/08/2022, 5:04 PMlively-kitchen-54916
11/08/2022, 7:28 PMadventurous-electrician-31004
11/08/2022, 9:14 PMmysterious-belgium-25713
11/08/2022, 9:17 PMadventurous-electrician-31004
11/08/2022, 9:20 PMmysterious-belgium-25713
11/08/2022, 9:21 PMmysterious-belgium-25713
11/08/2022, 9:32 PMmysterious-belgium-25713
11/08/2022, 9:34 PMadventurous-electrician-31004
11/08/2022, 9:50 PMmysterious-belgium-25713
11/08/2022, 9:51 PMmysterious-belgium-25713
11/08/2022, 9:52 PMmysterious-belgium-25713
11/08/2022, 9:58 PMadorable-smartphone-87280
11/08/2022, 11:32 PMPlease verify that the package.json has a valid "main" entry
error after updating to Cypress 11?adorable-smartphone-87280
11/08/2022, 11:33 PMnumerous-potato-27729
11/08/2022, 11:59 PM