From d2cb12ea2899ef238efcbbaf027a8705706f3253 Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Sun, 26 Mar 2023 11:39:31 +0800 Subject: [PATCH] Modify get value test Include output elements for testing. --- cypress/integration/core.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cypress/integration/core.test.ts b/cypress/integration/core.test.ts index 1c960fd..cfc2efa 100644 --- a/cypress/integration/core.test.ts +++ b/cypress/integration/core.test.ts @@ -251,6 +251,7 @@ describe('misc', () => { + 5 @@ -263,6 +264,8 @@ describe('misc', () => { onSubmitted: (form: HTMLFormElement, submitter: any, search: any) => { const meter = document.getElementById('meter'); expect(getValue(meter)).toBe(5); + const output = document.getElementById('output'); + expect(getValue(output)).toBe('5'); }, }); });