test(supply-chain): complete typed ERP page mocks
This commit is contained in:
parent
17c10b0863
commit
5abc141b03
@ -39,6 +39,10 @@ describe('discontinuation RPA login', () => {
|
||||
const page = {
|
||||
url: () => 'https://www.erp321.com/login.aspx',
|
||||
evaluate: async () => true,
|
||||
waitForSelector: async () => null,
|
||||
click: async () => {},
|
||||
type: async () => {},
|
||||
goto: async () => null,
|
||||
}
|
||||
await expect(ensureJstRpaLogin(
|
||||
page as Parameters<typeof ensureJstRpaLogin>[0],
|
||||
@ -52,6 +56,10 @@ describe('discontinuation RPA login', () => {
|
||||
const page = {
|
||||
url: () => 'https://www.erp321.com/epaas',
|
||||
evaluate: async () => false,
|
||||
waitForSelector: async () => null,
|
||||
click: async () => {},
|
||||
type: async () => {},
|
||||
goto: async () => null,
|
||||
}
|
||||
await expect(ensureJstRpaLogin(
|
||||
page as Parameters<typeof ensureJstRpaLogin>[0],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user