Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed May 10, 2021
1 parent 4396fdb commit 624fbbf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ describe('Kibana deprecations', () => {
let modal = document.body.querySelector('[data-test-subj="stepsModal"]');

expect(modal).not.toBe(null);
expect(modal!.textContent).toContain(`Fix '${deprecation.domainId}'`);
expect(modal!.textContent).toContain(`Resolve deprecation in '${deprecation.domainId}'`);

const steps: NodeListOf<Element> | null = modal!.querySelectorAll(
'[data-test-subj="fixDeprecationSteps"] .euiStep'
Expand Down Expand Up @@ -127,7 +127,7 @@ describe('Kibana deprecations', () => {
let modal = document.body.querySelector('[data-test-subj="resolveModal"]');

expect(modal).not.toBe(null);
expect(modal!.textContent).toContain(`Resolve '${deprecation.domainId}'`);
expect(modal!.textContent).toContain(`Resolve deprecation in '${deprecation.domainId}'`);

const confirmButton: HTMLButtonElement | null = modal!.querySelector(
'[data-test-subj="confirmModalConfirmButton"]'
Expand Down

0 comments on commit 624fbbf

Please sign in to comment.