Follow-up from "Incident management test coverage"
The following discussion from !44590 (merged) should be addressed:
-
@qzhaogitlab started a discussion: (+3 comments) It seems this verification
expect(all('tbody tr').count).to be(1)
does not rely on the test setupfind('.gl-filtered-search-term-input').set('title')
.It always passes:
- not set any search term
- set search term to
title
- set search term to
dsadadasdasdsa
Per !44590 (comment 427880133), the follow-up plan is:
When I wrote this test, the table only has a single line which has the word "title" in it, so searching for that returns the same table as the one on page load. Ive edited the test for now to be smaller and will extend this test in a follow up merge to add the next two states:
- Table filters values
- table shows empty state on invalid search