1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-04-02 03:53:13 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
mulahasanovic
d7053ba628 test(cypress): wait for app init before checking login state 2026-04-01 21:02:46 +02:00
mulahasanovic
52371da4db chore: pin axios version 2026-04-01 19:37:45 +02:00
3 changed files with 4 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ context('sasjs-tests', function () {
})
function loginIfNeeded() {
cy.get('login-form, tests-view', { timeout: 30000 }).should('exist')
cy.get('body').then(($body) => {
if ($body.find('login-form').length > 0) {
cy.get('login-form')

2
package-lock.json generated
View File

@@ -8,7 +8,7 @@
"license": "ISC",
"dependencies": {
"@sasjs/utils": "3.5.6",
"axios": "^1.13.5",
"axios": "1.13.5",
"axios-cookiejar-support": "5.0.5",
"form-data": "4.0.4",
"https": "1.0.0",

View File

@@ -77,7 +77,7 @@
"main": "index.js",
"dependencies": {
"@sasjs/utils": "3.5.6",
"axios": "^1.13.5",
"axios": "1.13.5",
"axios-cookiejar-support": "5.0.5",
"form-data": "4.0.4",
"https": "1.0.0",