1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-03 10:40:06 +00:00

style: lint

This commit is contained in:
2023-04-10 12:10:41 +02:00
parent 0052d5d340
commit 81c3d2a3dc
4 changed files with 931 additions and 454 deletions

View File

@@ -14,9 +14,11 @@ context('sasjs-tests', function () {
it('Should have all tests successfull', (done) => {
cy.get('body').then(($body) => {
const startButton = $body.find('.ui.massive.icon.primary.left.labeled.button')[0]
const startButton = $body.find(
'.ui.massive.icon.primary.left.labeled.button'
)[0]
cy.wait(1000)
if (startButton && !Cypress.dom.isVisible(startButton)) {
cy.get('input[placeholder="User Name"]').type(username)
cy.get('input[placeholder="Password"]').type(password)
@@ -47,9 +49,11 @@ context('sasjs-tests', function () {
it('Should have all tests successfull with debug on', (done) => {
cy.get('body').then(($body) => {
const startButton = $body.find('.ui.massive.icon.primary.left.labeled.button')[0]
const startButton = $body.find(
'.ui.massive.icon.primary.left.labeled.button'
)[0]
cy.wait(1000)
if (startButton && !Cypress.dom.isVisible(startButton)) {
cy.get('input[placeholder="User Name"]').type(username)
cy.get('input[placeholder="Password"]').type(password)