Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Junit #122

Merged
merged 3 commits into from
Nov 9, 2022
Merged

Junit #122

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Docker Compose Actions Workflow
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
# need checkout before using compose-action
- uses: actions/checkout@v3
- name: Create folders
run: |
mkdir -p var/{log,screenshots,mail,sms,gcm,downloads,reports}
chmod -R a+rwX var
- uses: isbang/[email protected]
- name: Test
run: |
docker-compose exec -T behaving behave --junit tests/features
- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: "**/TESTS-*.xml"
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
3.0.7 -
-------------------

- Github CI setup.
[oyvinev, ggozad]

- Skip tests that cannot run in a remote environment.
[ggozad]

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ services:
- ./var/sms:/app/var/sms
- ./var/gcm:/app/var/gcm
- ./var/downloads:/app/var/downloads
- ./var/reports:/app/reports

firefox:
image: selenoid/firefox:latest
Expand Down
2 changes: 1 addition & 1 deletion tests/features/mouse.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Feature: Mouse interactions
And I mouse over the element with xpath "//span[@id='mouse-interaction']"
Then I should see "Over"
When I mouse out of the element with xpath "//span[@id='mouse-interaction']"
Then I should see "and out" within 3 seconds
Then I should see "and out" within 5 seconds