Skip to content

Commit

Permalink
Merge pull request #1942 from fecgov/feature/1928
Browse files Browse the repository at this point in the history
feature/1928 Fixing e2e test issues
  • Loading branch information
sasha-dresden authored May 16, 2024
2 parents a31bdef + b0c465c commit 887469b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front-end/cypress/e2e/pages/contactListPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class ContactListPage {
'x-csrftoken': cookie?.value,
},
}).then((resp) => {
const contacts = resp.body.results;
const contacts = resp.body;
for (const contact of contacts) {
ContactListPage.deleteContact(contact.id);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1 class="m-0">Manage Contacts</h1>
id="button-contacts-new"
pButton
pRipple
label="Add Contact"
label="Add contact"
icon="pi pi-plus"
class="add-button"
(click)="addItem()"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<app-table
data-cy="report-list-component"
title="Recent reports"
[items]="items"
[totalItems]="totalItems"
Expand Down

0 comments on commit 887469b

Please sign in to comment.