Skip to content

Commit

Permalink
Update teacher-edit.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedNufais5891 authored Jan 1, 2025
1 parent a5e5fa8 commit 8f69ab0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/test/teacher-edit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ process.env.NODE_ENV = "test";
fixture`Testing Teacher UI`
.page`http://localhost:4401/`
test('Testing edit teachers', async t => {
await t.navigateTo("/Teacher");
await t.navigateTo("/");
await t.click("#teacher-edit-10003");

await t.typeText("#teacher-name", "Changed Teacher Name");
await t.typeText("#teacher-age", "99");
await t.click("#teacher-edit");

await t.navigateTo("/Teacher");
await t.navigateTo("/");

const table = Selector('#teacher-table')
const rowCount = await table.find('tr').count;
Expand Down

0 comments on commit 8f69ab0

Please sign in to comment.