From 4370e40d461d130be8a88439d5cd9134bb59e9be Mon Sep 17 00:00:00 2001 From: hk_js Date: Thu, 26 May 2022 18:25:11 +0800 Subject: [PATCH] fix the interface case Signed-off-by: hk_js --- .../windowstandard/src/main/js/default/test/window.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphic/windowstandard/src/main/js/default/test/window.test.js b/graphic/windowstandard/src/main/js/default/test/window.test.js index 3ef9f9145..04c98ead6 100755 --- a/graphic/windowstandard/src/main/js/default/test/window.test.js +++ b/graphic/windowstandard/src/main/js/default/test/window.test.js @@ -1883,7 +1883,7 @@ describe('window_test', function () { */ it('setScreenActiveMode_Test_001', 0, async function (done) { console.log('screenshotTest setScreenActiveModeTest1 begin'); - screen.getAllScreen().then(src => { + screen.getAllScreens().then(src => { console.log('screenshotTest setScreenActiveModeTest1 getAllScreen src' + src); expect(src[0] != null).assertTrue(); let screenIndex = src[0]; @@ -1909,7 +1909,7 @@ describe('window_test', function () { */ it('setScreenActiveMode_Test_002', 0, async function (done) { console.log('screenshotTest setScreenActiveModeTest2 begin'); - screen.getAllScreen().then(src => { + screen.getAllScreens().then(src => { console.log('screenshotTest setScreenActiveModeTest2 getAllScreen src' + src); expect(src[0] != null).assertTrue(); let screenIndex = src[0]; -- GitLab