Skip to content

Commit

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

test('Testing edit students', async t => {
await t.navigateTo("/Students");
await t.navigateTo("/Student");
await t.typeText("#student-id", "999999");
await t.typeText("#student-name", "Pasindu Basnayaka");
await t.typeText("#student-age", "45");
await t.typeText("#student-Hometown", "catholic");
await t.click("#student-edit");

await t.navigateTo("/Students");
await t.navigateTo("/Student");
await t.click("#student-edit-999999");

await t.typeText("#student-name", "Changed Student Name");
Expand Down

0 comments on commit f02f04f

Please sign in to comment.