This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import { module, todo } from 'qunit'; | ||
import { setupApplicationTest } from 'ember-qunit'; | ||
import { setupMirage } from 'ember-cli-mirage/test-support'; | ||
import login from 'waypoint/tests/helpers/login'; | ||
|
||
module('Acceptance | up', function (hooks) { | ||
setupApplicationTest(hooks); | ||
setupMirage(hooks); | ||
login(); | ||
|
||
todo('happy path', async function (assert) { | ||
// Given I have a project with remote runners enabled | ||
// And I am viewing an app in that project | ||
// When I click “build, deploy & release” | ||
// Then I see “Building...” | ||
// And I see a new build appear in the list | ||
// And I see “Deploying...” | ||
// And I see a new deployment appear in the list | ||
// And I see “Releasing...” | ||
// And I see a new release appear in the list | ||
// And I see the button become re-enabled | ||
}); | ||
|
||
todo('build fails', function (assert) { | ||
// Given I have a project with remote runners enabled | ||
// And I am viewing an app in that project | ||
// When I click “build, deploy & release” | ||
// Then I see “Building...” | ||
// And I see a new build appear in the list with an error | ||
// And I see the button become re-enabled | ||
}); | ||
|
||
todo('deploy fails', function (assert) { | ||
// Given I have a project with remote runners enabled | ||
// And I am viewing an app in that project | ||
// When I click “build, deploy & release” | ||
// Then I see “Building...” | ||
// And I see a new build appear in the list | ||
// And I see “Deploying...” | ||
// And I see a new deployment appear in the list with an error | ||
// And I see the button become re-enabled | ||
}); | ||
|
||
todo('release fails', function (assert) { | ||
// Given I have a project with remote runners enabled | ||
// And I am viewing an app in that project | ||
// When I click “build, deploy & release” | ||
// Then I see “Building...” | ||
// And I see a new build appear in the list | ||
// And I see “Deploying...” | ||
// And I see a new deployment appear in the list | ||
// And I see “Releasing...” | ||
// And I see a new release appear in the list with an error | ||
// And I see the button become re-enabled | ||
}); | ||
}); |