(title: RegExp, content: RegExp)
| 55 | const getDisplayer = async () => await innerText(page, '.displayer'); |
| 56 | |
| 57 | const hasReceivedMessage = async (title: RegExp, content: RegExp) => { |
| 58 | await page.click('#message-navigation a'); |
| 59 | await waitForExists(page, selector.heading(), 'All Messages'); |
| 60 | await waitForCount(page, '#messages .message', 1); |
| 61 | |
| 62 | expect(await innerText(page, '.title')).toMatch(title); |
| 63 | expect(await innerText(page, '.content')).toMatch(content); |
| 64 | |
| 65 | await page.click('#navigate-plugins'); |
| 66 | await waitForExists(page, selector.heading(), 'Plugins'); |
| 67 | }; |
| 68 | |
| 69 | const inDetailPage = async (id: number, callback: () => Promise<void>) => { |
| 70 | const name = await innerText(page, $table.cell(id, Col.Name)); |
no test coverage detected
searching dependent graphs…