Skip to content

Commit

Permalink
Update student-search.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedNufais5891 authored Jan 1, 2025
1 parent f02f04f commit f6ed746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/test/student-search.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fixture`Testing Student UI`
.page`http://localhost:4401/student`

test('Testing search students', async t => {
await t.navigateTo("/Students");
await t.navigateTo("/Student");
await t.typeText("#student-search", "si");

const table = Selector('#student-table')
Expand All @@ -14,5 +14,5 @@ test('Testing search students', async t => {
let tdText = await table.find('tr').nth(rowCount-1).innerText;
await t.expect(rowCount).eql(2)

await t.navigateTo("/dbinitialize");
await t.navigateTo("/Student");
});

0 comments on commit f6ed746

Please sign in to comment.