Skip to content

Commit

Permalink
e2e layout issue: use .js not .coffee, add a passing test
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mann committed Jan 23, 2019
1 parent aca6ad4 commit c223551
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 19 deletions.
38 changes: 20 additions & 18 deletions packages/server/__snapshots__/3_issue_2891_spec.coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,34 @@ exports['e2e issue 2891 passes 1'] = `
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 1.2.3 │
│ Browser: FooBrowser 88 │
│ Specs: 1 found (default_layout_spec.coffee)
│ Searched: cypress/integration/default_layout_spec.coffee
│ Specs: 1 found (default_layout_spec.js)
│ Searched: cypress/integration/default_layout_spec.js
└────────────────────────────────────────────────────────────────────────────────────────────────┘
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: default_layout_spec.coffee... (1 of 1)
Running: default_layout_spec.js... (1 of 1)
0 passing
✓ works
1 passing
(Results)
┌──────────────────────────────────────────
│ Tests: 0
│ Passing: 0
│ Failing: 0
│ Pending: 0
│ Skipped: 0
│ Screenshots: 0
│ Video: true
│ Duration: X seconds
│ Spec Ran: default_layout_spec.coffee
└──────────────────────────────────────────
┌──────────────────────────────────────┐
│ Tests: 1
│ Passing: 1
│ Failing: 0 │
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: true │
│ Duration: X seconds │
│ Spec Ran: default_layout_spec.js
└──────────────────────────────────────┘
(Video)
Expand All @@ -48,9 +50,9 @@ exports['e2e issue 2891 passes 1'] = `
Spec Tests Passing Failing Pending Skipped
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ ✔ default_layout_spec.coffee XX:XX - - - - - │
│ ✔ default_layout_spec.js XX:XX 1 1 - - - │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
All specs passed! XX:XX - - - - -
All specs passed! XX:XX 1 1 - - -
`
`
2 changes: 1 addition & 1 deletion packages/server/test/e2e/3_issue_2891_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe "e2e issue 2891", ->
it "passes", ->
e2e.exec(@, {
project: Fixtures.projectPath("default-layout")
spec: "default_layout_spec.coffee"
spec: "default_layout_spec.js"
snapshot: true
expectedExitCode: 0
})
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
it('works', () => {})

0 comments on commit c223551

Please sign in to comment.