diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47f8c2a48e54cd8dda96f7d08768ac64156b9a3e..3d9e159a8fd8b26365e57a33c497e257a188cecb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,6 @@ stages: before_script: - export NG_CLI_ANALYTICS="false" - export MAVEN_USER_HOME=`pwd`/.maven - - npm install - npm ci --cache .npm --prefer-offline # pmdCheckstylePrettierLint: @@ -113,7 +112,6 @@ e2e-test: script: - apt-get update - apt-get install -y default-jre - - apt-get -f install -y - npm run e2e # sonar-analyze: # stage: analyze diff --git a/package.json b/package.json index a3d3183e173481acf2fdde9ea245619d330b9ef4..3069220ff6d04fafc979e7a3812284a33bf8e5f3 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "predocker:others:up": "", "docker:others:up": "npm run docker:elasticsearch:up", "e2e": "export JHI_E2E_HEADLESS=true; protractor --baseUrl='http://localhost:8080/' src/test/javascript/protractor.conf.js --disableChecks", - "e2e:ci": "export E2E_PASSWORD=pHHwRjRoWgg9WTZcxGA2M67W8CJyrD ; protractor --baseUrl='https://search.sharing-codeability.uibk.ac.at/' src/test/javascript/protractor.conf.js --disableChecks", + "e2e:ci": "export E2E_PASSWORD=aUCDc2gJ6Qq3cAgf8jUfwV69gnd5Sq ; protractor --baseUrl='https://dev-exchange.codeability-austria.uibk.ac.at/' src/test/javascript/protractor.conf.js --disableChecks", "e2e:update-webdriver": "webdriver-manager update --gecko false", "postinstall": "npm run e2e:update-webdriver", "java:docker": "./mvnw -ntp verify -DskipTests -Pprod jib:dockerBuild", diff --git a/src/test/javascript/e2e/account/account.spec.ts b/src/test/javascript/e2e/account/account.spec.ts index fcaf8536270d633d6d5de3b805b891f3ace99d8e..0cbd7aed4c6b6f8ec1ec0b26faa77866938d2f3d 100644 --- a/src/test/javascript/e2e/account/account.spec.ts +++ b/src/test/javascript/e2e/account/account.spec.ts @@ -21,6 +21,7 @@ describe('account', () => { }); it('should fail to login with bad password', async () => { + await browser.sleep(2000); signInPage = await navBarPage.getSignInPage(); await signInPage.autoSignInUsing(username, 'foo'); const expect2 = 'login.messages.error.authentication';