Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit 8a876c8

Browse files
committed
Removed tests with missing target
1 parent b3ef461 commit 8a876c8

File tree

9 files changed

+32
-40
lines changed

9 files changed

+32
-40
lines changed

.github/workflows/maven.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ jobs:
3636
brew install --cask microsoft-edge
3737
brew install zip
3838
brew install curl
39-
39+
exclude:
40+
- os: macos-latest
41+
browser: firefoxheadless # Webdriver download if not working with Firefox at GHA
42+
java-version: 8
43+
4044
runs-on: ${{ matrix.os }}
4145
name: Test on ${{ matrix.os }} with Java ${{ matrix.java-version }} using browser ${{ matrix.browser }}
4246
steps:

pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,12 @@
290290
<log>target/robotframework-reports/${browser}_log.html</log>
291291
<output>target/robotframework-reports/${browser}_output.xml</output>
292292
<xunitFile>target/robotframework-reports/${browser}_xUnit.xml</xunitFile>
293-
<nonCriticalTags>
294-
<nonCriticalTag>${browser}</nonCriticalTag>
295-
</nonCriticalTags>
293+
<skips>
294+
<skip>${browser}</skip>
295+
</skips>
296+
<skiponfailures>
297+
<skiponfailure>${browser}</skiponfailure>
298+
</skiponfailures>
296299
</configuration>
297300
</execution>
298301
<execution>

src/test/robotframework/objects/Google.Site.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Go To
2424
${Current.Location}= Get Location
2525
Run Keyword If '${Current.Location}'!='${Google.Site.Url}' SeleniumLibrary.Go To ${Google.Site.Url}
2626
Title Should Be ${Google.Site.PageTitle}
27+
Handle Cookie Consent xpath:(//div[@role="none"])[last()]
2728

2829
Close
2930
Close Browser

src/test/robotframework/settings/Settings.robot

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,13 @@ ${Selenium.Timeout} 30.0
1313
1414
*** Keywords ***
1515
Test
16-
Op
16+
Op
17+
18+
Handle Cookie Consent
19+
[Arguments] ${consent click xpath}
20+
Comment Consent search causes stack overflow to jbrowser, so tagging tescases using this keyword
21+
Set Tags jbrowser
22+
${count} Get Matching Xpath Count ${consent click xpath}
23+
IF ${count} > 0
24+
Click Element ${consent click xpath}
25+
END

src/test/robotframework/testsuites/UnitTests/AW3Schools.robot

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ ${URL Application} http://www.w3schools.com
88

99
*** Test Cases ***
1010
Select
11+
[Tags] jbrowser
1112
Open Browser https://developer.mozilla.org/en/docs/Web/HTML/Element/select#Examples ${browser} mainbrowser
12-
Wait Until Page Contains Element xpath://select
13-
Select From List xpath://select Third Value
14-
${label} Get Selected List Label xpath://select
13+
Wait Until Page Contains Element frame_Basic_select
14+
Select Frame frame_Basic_select
15+
Wait Until Page Contains Element xpath://select[@name="choice"]
16+
Select From List xpath://select[@name="choice"] Third Value
17+
${label} Get Selected List Label xpath://select[@name="choice"]
1518
Should Be Equal ${label} Third Value
16-
List Selection Should Be xpath://select Third Value
19+
List Selection Should Be xpath://select[@name="choice"] Third Value
1720

1821
Multiple Browsers
1922
Open Browser ${URL Application} ${browser} mainbrowser1

src/test/robotframework/testsuites/UnitTests/ExtJS.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Suite Setup Open Page
33
Suite Teardown Close Browser
44
Resource ../../settings/Settings.robot
5+
Default Tags jbrowser
56

67
*** Variables ***
78
${URL Application} http://examples.sencha.com/extjs/6.5.0/examples/classic/ticket-app/index.html

src/test/robotframework/testsuites/UnitTests/GetInnerElementId.robot

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/test/robotframework/testsuites/UnitTests/JSEvents.robot

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/test/robotframework/testsuites/UnitTests/WhatAreCookies.robot

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Resource ../../settings/Settings.robot
44
*** Test Cases ***
55
Cookies
66
Open Browser http://www.whatarecookies.com/cookietest.asp ${browser} mainbrowser
7+
Handle Cookie Consent cookieconsent_btn
78
${all_cookies}= Get Cookies
8-
${test}= Get Cookie Value _ga
9+
${test}= Get Cookie Value cookieconsent
910
Close Browser

0 commit comments

Comments
 (0)