This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit d7045330 authored by Eduard Frankford's avatar Eduard Frankford
Browse files

testing

parent 5d3a29ce
5 merge requests!132Bringing July Release to production,!128Fixing #315 and #319,!126Continous Deployment with E2E Tests,!125Publish docker image,!119Publish docker image
......@@ -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
......
......@@ -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",
......
......@@ -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';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment