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

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

testing

parent baf73299
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
......@@ -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