Project Number Date
ApolloFullRunnerReport apollo-test-2.156 13 wrz 2021, 06:47

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@TmsLink=A-7053 39 6 3 0 0 48 0 6 6 46s 907ms Failed
View Feature UserAuthority
Scenario Outline Check if it is possible to remove basic authority to user role group [A-7053]
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "super-admin-skz" and set token of apiUsername "super-admin-skz" 2s 982ms
And Set basic authorities "ROLE_ANNOUNCEMENTS_TAB" to user "swisskrono-producer" 185ms
When Go to "SETTINGS_TAB" 881ms
And Go to "PRODUCER" authorities settings 1s 111ms
And Expand "ANNOUNCEMENT" panel 15s 055ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-component-name='ANNOUNCEMENT-panel']"}
  (Session info: headless chrome=93.0.4577.63)
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=93.0.4577.63 (ff5c0da2ec0adeaed5550e6c7e98417dac77d98a-refs/branch-heads/4577@{#1135}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.iewX6Y}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=93.0.4577.63, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 79aba532e9cdc3a3f8d36c56f2016381
*** Element info: {Using=xpath, value=//div[@data-component-name='ANNOUNCEMENT-panel']}
	at sun.reflect.GeneratedConstructorAccessor213.newInstance(Unknown Source)
	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:325)
	at CucumberTests.Utils.AuthorityTest.expandPanel(AuthorityTest.java:130)
	at ✽.Expand "ANNOUNCEMENT" panel(file:Features/Atom/Users/UserAuthority.feature:118)
And Click "Dostęp do zakładki Ogłoszenia" basic authority delete button 000ms
And Accept alert 000ms
Then Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel 000ms
After Hooks.rollbackAddedActionAuthorities() 000ms
View Feature UserAuthority
Scenario Outline Check if it is possible to remove basic authority to user role group [A-7053]
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "super-admin-hochland" and set token of apiUsername "super-admin-hochland" 3s 508ms
And Set basic authorities "ROLE_ANNOUNCEMENTS_TAB" to user "hochland-warehouse-manager" 195ms
When Go to "SETTINGS_TAB" 875ms
And Go to "WAREHOUSE_MANAGER" authorities settings 1s 459ms
And Expand "ANNOUNCEMENT" panel 218ms
And Click "Dostęp do zakładki Ogłoszenia" basic authority delete button 314ms
And Accept alert 053ms
Then Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel 076ms
java.lang.AssertionError: Uprawnienie jest nadal widoczne w panelu!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Utils.AuthorityTest.checkIfAuthorityIsVisibleInAuthorityPanel(AuthorityTest.java:140)
	at ✽.Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel(file:Features/Atom/Users/UserAuthority.feature:121)
After Hooks.rollbackAddedActionAuthorities() 000ms
View Feature UserAuthority
Scenario Outline Check if it is possible to remove basic authority to user role group [A-7053]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 2s 521ms
And Set basic authorities "ROLE_ANNOUNCEMENTS_TAB" to user "alrec-sales-employee" 188ms
When Go to "SETTINGS_TAB" 730ms
And Go to "SALES_EMPLOYEE" authorities settings 697ms
And Expand "ANNOUNCEMENT" panel 235ms
And Click "Dostęp do zakładki Ogłoszenia" basic authority delete button 322ms
And Accept alert 060ms
Then Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel 076ms
java.lang.AssertionError: Uprawnienie jest nadal widoczne w panelu!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Utils.AuthorityTest.checkIfAuthorityIsVisibleInAuthorityPanel(AuthorityTest.java:140)
	at ✽.Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel(file:Features/Atom/Users/UserAuthority.feature:121)
After Hooks.rollbackAddedActionAuthorities() 000ms
View Feature UserAuthority
Scenario Outline Check if it is possible to remove basic authority to user role group [A-7053]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "super-admin-farmacol" and set token of apiUsername "super-admin-farmacol" 2s 728ms
And Set basic authorities "ROLE_ANNOUNCEMENTS_TAB" to user "farmacol-analyst" 184ms
When Go to "SETTINGS_TAB" 734ms
And Go to "ANALYST" authorities settings 628ms
And Expand "ANNOUNCEMENT" panel 210ms
And Click "Dostęp do zakładki Ogłoszenia" basic authority delete button 305ms
And Accept alert 055ms
Then Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel 081ms
java.lang.AssertionError: Uprawnienie jest nadal widoczne w panelu!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Utils.AuthorityTest.checkIfAuthorityIsVisibleInAuthorityPanel(AuthorityTest.java:140)
	at ✽.Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel(file:Features/Atom/Users/UserAuthority.feature:121)
After Hooks.rollbackAddedActionAuthorities() 000ms
View Feature UserAuthority
Scenario Outline Check if it is possible to remove basic authority to user role group [A-7053]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "super-admin-adama" and set token of apiUsername "super-admin-adama" 2s 574ms
And Set basic authorities "ROLE_ANNOUNCEMENTS_TAB" to user "adama-buyer" 191ms
When Go to "SETTINGS_TAB" 810ms
And Go to "BUYER" authorities settings 733ms
And Expand "ANNOUNCEMENT" panel 221ms
And Click "Dostęp do zakładki Ogłoszenia" basic authority delete button 303ms
And Accept alert 054ms
Then Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel 076ms
java.lang.AssertionError: Uprawnienie jest nadal widoczne w panelu!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Utils.AuthorityTest.checkIfAuthorityIsVisibleInAuthorityPanel(AuthorityTest.java:140)
	at ✽.Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel(file:Features/Atom/Users/UserAuthority.feature:121)
After Hooks.rollbackAddedActionAuthorities() 000ms
View Feature UserAuthority
Scenario Outline Check if it is possible to remove basic authority to user role group [A-7053]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 635ms
And Set basic authorities "ROLE_ANNOUNCEMENTS_TAB" to user "piast-forwarding-agent" 182ms
When Go to "SETTINGS_TAB" 774ms
And Go to "FORWARDING_AGENT" authorities settings 895ms
And Expand "ANNOUNCEMENT" panel 287ms
And Click "Dostęp do zakładki Ogłoszenia" basic authority delete button 347ms
And Accept alert 061ms
Then Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel 078ms
java.lang.AssertionError: Uprawnienie jest nadal widoczne w panelu!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertFalse(Assert.java:64)
	at CucumberTests.Utils.AuthorityTest.checkIfAuthorityIsVisibleInAuthorityPanel(AuthorityTest.java:140)
	at ✽.Check if authority "Dostęp do zakładki Ogłoszenia" is "not visible" in "ANNOUNCEMENT" authority panel(file:Features/Atom/Users/UserAuthority.feature:121)
After Hooks.rollbackAddedActionAuthorities() 000ms