diff --git a/e2e/dialpad.spec.ts b/e2e/dialpad.spec.ts index 9767465..af3f39a 100644 --- a/e2e/dialpad.spec.ts +++ b/e2e/dialpad.spec.ts @@ -190,7 +190,9 @@ test('Dialpad has expected UI components', async ({ page }) => { // Assert that copyright para has correct text const copyrightText = await copyrightPara.innerText(); - expect(copyrightText).toEqual('Made by • Satyam Seth Ⓒ 2023'); + expect(copyrightText).toEqual( + `Made by • Satyam Seth Ⓒ ${new Date().getFullYear()}` + ); }); test('Dialpad buttons press working', async ({ page }) => {