Skip to content

Commit

Permalink
updates tests for new nypr-card api
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Whitton authored and marineb committed Apr 10, 2017
1 parent ca159fd commit c302d3e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/acceptance/profile-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ test('can view & update attrs', function(assert) {
});

andThen(function() {
click('.nypr-basic-info [data-test-selector="edit-button"]');
click('.nypr-basic-info [data-test-selector="nypr-card-button"]');
});

andThen(function() {
Expand Down Expand Up @@ -125,7 +125,7 @@ skip('using bad password to update email shows error', function(assert) {
visit('/profile');

andThen(function() {
click('.nypr-basic-info [data-test-selector="edit-button"]');
click('.nypr-basic-info [data-test-selector="nypr-card-button"]');
});

andThen(function() {
Expand Down Expand Up @@ -165,7 +165,7 @@ test('can update password', function(assert) {
authenticateSession(this.application, {access_token: 'foo'});
visit('/profile');

click('.nypr-password-card [data-test-selector="edit-button"]');
click('.nypr-password-card [data-test-selector="nypr-card-button"]');

andThen(function() {
fillIn('input[name=currentPassword]', OLD);
Expand Down Expand Up @@ -195,7 +195,7 @@ test('trying to update with incorrect password shows error', function(assert) {
authenticateSession(this.application, {access_token: 'foo'});
visit('/profile');

click('.nypr-password-card [data-test-selector="edit-button"]');
click('.nypr-password-card [data-test-selector="nypr-card-button"]');

andThen(function() {
fillIn('input[name=currentPassword]', OLD);
Expand Down

0 comments on commit c302d3e

Please sign in to comment.