Skip to content

Commit 6805260

Browse files
committed
Merge branch 'master' of github.com:codecept-js/examples
2 parents 8966411 + 13f09bc commit 6805260

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

.github/workflows/main.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on: [push]
2+
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
name: Check Tests
8+
steps:
9+
- uses: actions/checkout@v2
10+
with:
11+
fetch-depth: 0
12+
- uses: testomatio/check-tests@master
13+
with:
14+
framework: codeceptjs
15+
tests: "./todomvc-tests/**_test.js"
16+
token: ${{ secrets.GITHUB_TOKEN }}
17+
has-tests-label: true
18+

todomvc-tests/create-todos_test.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ Scenario('Create a new todo item', async ({ I, TodosPage }) => {
1717
TodosPage.seeNumberOfTodos(1)
1818

1919
I.saveScreenshot('create-todo-item.png')
20-
})
20+
});
2121

2222
Scenario('Create multiple todo items', async ({ I, TodosPage }) => {
2323
I.say('Given I have an empty todo list')
24-
2524
I.say('When I create todos "foo", "bar" and "baz"')
2625
TodosPage.enterTodo('foo')
2726
TodosPage.enterTodo('bar')

0 commit comments

Comments
 (0)