Skip to content

Commit

Permalink
update test from latest main
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Aug 30, 2024
1 parent 1e5cc70 commit b75ee85
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ describe('ManageSpacePage', () => {
await Promise.resolve();

{
const errors = wrapper.find('.euiFormErrorText').map((node) => node.text());
const errors = wrapper.find('div.euiFormErrorText').map((node) => node.text());
expect(errors).toEqual([
'Enter a name.',
'Enter a URL identifier.',
Expand All @@ -167,7 +167,7 @@ describe('ManageSpacePage', () => {
await Promise.resolve();

{
const errors = wrapper.find('.euiFormErrorText').map((node) => node.text());
const errors = wrapper.find('div.euiFormErrorText').map((node) => node.text());
expect(errors).toEqual(['Select one solution.']); // requires solution view to be set
}

Expand All @@ -177,7 +177,7 @@ describe('ManageSpacePage', () => {
await Promise.resolve();

{
const errors = wrapper.find('.euiFormErrorText').map((node) => node.text());
const errors = wrapper.find('div.euiFormErrorText').map((node) => node.text());
expect(errors).toEqual([]); // no more errors
}

Expand Down

0 comments on commit b75ee85

Please sign in to comment.