@@ -40,34 +40,6 @@ test.describe('The extension popup should load', () => {
40
40
await expect ( popup . getByText ( 'error' ) . or ( popup . getByText ( 'fail' ) ) ) . toBeHidden ( )
41
41
} )
42
42
43
- /**
44
- * Extension should be able to show embedded Transak, but we currently link to
45
- * it instead. Ext popup is too small and loses all progress when it closes.
46
- */
47
- test ( 'Transak can not be embedded in extension' , async ( { page, extensionPopupURL } ) => {
48
- test . fail ( )
49
-
50
- /* TODO: reenable when transak throws only a few errors
51
- await expectNoErrorsInConsole(page, {
52
- ignoreError: msg => {
53
- // Odd errors inside Transak
54
- if (msg.text().includes('responded with a status of 403')) return true
55
- if (msg.text().includes('`sessionKey` is a required property')) return true
56
- if (msg.text().includes('[Report Only]')) return true
57
- if (msg.text().includes('script-src https://*.transak.com https://*.google.com')) return true
58
- },
59
- })
60
- */
61
- await page . goto ( `${ extensionPopupURL } /` )
62
- await page . evaluate ( ( ) => {
63
- const iframe = document . createElement ( 'iframe' )
64
- iframe . src = 'https://global.transak.com'
65
- document . body . appendChild ( iframe )
66
- } )
67
- await page . locator ( 'iframe' ) . scrollIntoViewIfNeeded ( )
68
- await expect ( page . frameLocator ( 'iframe' ) ! . getByAltText ( 'Powered by Transak' ) ) . toBeVisible ( )
69
- } )
70
-
71
43
test ( 'recover from fatal errors' , async ( { extensionPopupURL, context } ) => {
72
44
{
73
45
const page = await context . newPage ( )
0 commit comments