Project Number Date
ApolloFullRunnerReport apollo-test-2.98 29 lip 2021, 06:08

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteCompanyAfterTest 85 2 0 0 0 87 15 2 17 4m 7s 491ms Failed
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 706ms
When Create company "Firma automaty" 7s 280ms
Then Company is successfully created 000ms
After Hooks.deleteCompanyAfterTest() 223ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 422ms
When Create company "Firma Piast" 5s 153ms
Then Company is successfully created 000ms
After Hooks.deleteCompanyAfterTest() 125ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 371ms
When Create company "Firma Lantmannen" 5s 757ms
Then Company is successfully created 000ms
After Hooks.deleteCompanyAfterTest() 126ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 459ms
When Create company "Firma Keeper" 5s 420ms
Then Company is successfully created 000ms
After Hooks.deleteCompanyAfterTest() 107ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 433ms
When Create company "Firma Alrec" 5s 572ms
Then Company is successfully created 000ms
After Hooks.deleteCompanyAfterTest() 116ms
View Feature Company
Scenario Outline Check if it possible to edit company by super-admins [A-6812]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 510ms
And Create company "Firma Piast" by JSON file as "super-admin-piast" 853ms
When Edit company "Firma Piast" 3s 253ms
And Wait "2" seconds 2s
Then Company is successfully edited 15s 066ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'alert-success')]"}
  (Session info: headless chrome=91.0.4472.164)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.GxgvzN}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 609527d1d4e5ac9ec9d931f6b622da30
*** Element info: {Using=xpath, value=//div[contains(@class, 'alert-success')]}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.Company.CompanyDetailsPage.getAlertSuccess(CompanyDetailsPage.java:39)
	at CucumberTests.Company.EditCompanyTest.companyIsSuccessfullyEdited(EditCompanyTest.java:66)
	at ✽.Company is successfully edited(file:Features/Atom/Companies/Company.feature:22)
After Hooks.deleteCompanyAfterTest() 132ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 2s 658ms
And Create company "Firma Lantmannen" by JSON file as "super-admin-lantmannen" 831ms
When Edit company "Firma Lantmannen" 3s 139ms
And Wait "2" seconds 2s
Then Company is successfully edited 095ms
After Hooks.deleteCompanyAfterTest() 135ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "super-admin-keeeper" and set token of apiUsername "super-admin-keeeper" 6s 518ms
And Create company "Firma Keeper" by JSON file as "super-admin-keeeper" 828ms
When Edit company "Firma Keeper" 3s 049ms
And Wait "2" seconds 2s
Then Company is successfully edited 110ms
After Hooks.deleteCompanyAfterTest() 116ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 5s 118ms
And Create company "Firma Alrec" by JSON file as "super-admin-alrec" 869ms
When Edit company "Firma Alrec" 2s 981ms
And Wait "2" seconds 2s
Then Company is successfully edited 108ms
After Hooks.deleteCompanyAfterTest() 127ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 467ms
And Create company "Firma automaty" by JSON file as "super-admin-skz" 876ms
When Go to "COMPANIES_TAB" 1s 299ms
And Go to company "Firma automaty" details 441ms
Then Check if edit company details is blocked 345ms
After Hooks.deleteCompanyAfterTest() 123ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 562ms
And Create company "Firma Piast" by JSON file as "super-admin-piast" 873ms
When Go to "COMPANIES_TAB" 1s 043ms
And Go to company "Firma Piast" details 425ms
Then Check if edit company details is blocked 314ms
After Hooks.deleteCompanyAfterTest() 231ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 357ms
And Create company "Firma Lantmannen" by JSON file as "super-admin-lantmannen" 950ms
When Go to "COMPANIES_TAB" 1s 024ms
And Go to company "Firma Lantmannen" details 471ms
Then Check if edit company details is blocked 334ms
After Hooks.deleteCompanyAfterTest() 098ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 469ms
And Create company "Firma Keeper" by JSON file as "super-admin-keeeper" 1s 029ms
When Go to "COMPANIES_TAB" 991ms
And Go to company "Firma Keeper" details 430ms
Then Check if edit company details is blocked 319ms
After Hooks.deleteCompanyAfterTest() 142ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 377ms
And Create company "Firma Alrec" by JSON file as "super-admin-alrec" 930ms
When Go to "COMPANIES_TAB" 1s 065ms
And Go to company "Firma Alrec" details 391ms
Then Check if edit company details is blocked 348ms
After Hooks.deleteCompanyAfterTest() 124ms
View Feature Company
Scenario Outline Check if it possible to create and edit company [A-6812]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-skz" 247ms
When Set basic authorities "ROLE_CREATE_COMPANY" to user "super-admin-skz" 368ms
And Clear all cache 2s 796ms
And Login as "super-admin-skz" 12s 488ms
And Create company "Firma automaty" 6s 440ms
And Edit company "Firma automaty" 2s 680ms
Then Company is successfully edited 15s 096ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'alert-success')]"}
  (Session info: headless chrome=91.0.4472.164)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.GxgvzN}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=91.0.4472.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 609527d1d4e5ac9ec9d931f6b622da30
*** Element info: {Using=xpath, value=//div[contains(@class, 'alert-success')]}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at Pages.Company.CompanyDetailsPage.getAlertSuccess(CompanyDetailsPage.java:39)
	at CucumberTests.Company.EditCompanyTest.companyIsSuccessfullyEdited(EditCompanyTest.java:66)
	at ✽.Company is successfully edited(file:Features/Atom/Companies/Company.feature:54)
After Hooks.deleteCompanyAfterTest() 118ms
After Hooks.rollbackAddedAuthorities() 190ms
View Feature Company
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-pgf" 232ms
And Set basic authorities "ROLE_CREATE_COMPANY" to user "pgf-admin" 189ms
When Create company "Twój Opiekun PGF" "supplier" by JSON file as "super-admin-pgf" 823ms
And Login as "pgf-admin" 5s 734ms
And Go to "COMPANIES_TAB" 1s 941ms
And Go to company "Twój Opiekun PGF" details 485ms
And Select company patron "PGF SUPPLY EMPLOYEE" 7s 630ms
Then Verify if "PGF SUPPLY EMPLOYEE" data is successfully added 146ms
After Hooks.deleteCompanyAfterTest() 153ms
After Hooks.rollbackAddedAuthorities() 164ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "super-admin-farmacol" and set token of apiUsername "super-admin-farmacol" 8s 500ms
When Create company "Farmacol-NEU" with given nip "DE" "12344321123" "Dostawca \ Odbiorca" 5s 761ms
And If user is login then logout 260ms
And Login as "super-admin-neuca" 10s 217ms
And Go to "INVITATIONS_TAB" 482ms
And Create invitation with given nip "SUPPLIER" "SUPPLIER" "farmacol-neu@qp.pl" "DE" "12344321123" 2s 530ms
And If user is login then logout 245ms
And Mock invitation email by admin panel "super-admin-neuca" "farmacol-neu@qp.pl" 7s 362ms
And Register to application "SUPPLIER" 19s 292ms
And Wait "4" seconds 4s
And Login as "farmacol-neu@qp.pl" 7s 779ms
And User is successfully logged 037ms
After Hooks.deleteCompanyAfterTest() 320ms
After Hooks.deleteInvitationAfterTest() 030ms