You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
985 B
JavaScript

import home from '../selectors/home.css'
import robert from '../selectors/robert.css'
describe('Home page', () => {
it('loads the correct screen', () => {
cy.visit('https://rengawr.de/info/info.html', {auth: {username: "oma@oma.de", password: "Omnia$$2020", },})
//cy.visit('https://oma@oma.de:Omnia$$2020@rengawr.de/info/info.html', auth: {username: "", password: "",},)
cy.get(robert.EGovC_demo).should('be.visible')
.and('contain', 'li')
const indexToClick = 3;
// Select the nth <details> element and click it
cy.get('details').eq(indexToClick).click();
cy.get('a[href="https://rengawr.de/val/index.html?DebugLevel=0&jsApp=./oc/oApp_Editor_oc.js&AppName=Edit&AppCode=StartEditProcess&PO_Prefix=Leika&OU_Name=EGOVC&LOG_Role=EDIT&USR_EMail=robert.wagner@egovc.de&USR_Pass=Welcome1"]')
.click();
})
/* it('is possible to go to EGovC MRN HWPA screen', () =>{
}) */
})