@@ -33,8 +33,6 @@ https://redislabs.atlassian.net/browse/RI-4302, https://redislabs.atlassian.net/
33
33
*/
34
34
test ( 'Verify that user can upload tutorial with local zip file without manifest.json' , async t => {
35
35
// Verify that user can upload custom tutorials on docker version
36
- const imageExternalPath = 'RedisInsight screen external' ;
37
- // const imageRelativePath = 'RedisInsight screen relative';
38
36
folder1 = 'folder-1' ;
39
37
folder2 = 'folder-2' ;
40
38
internalLinkName1 = 'probably-1' ;
@@ -64,14 +62,15 @@ test('Verify that user can upload tutorial with local zip file without manifest.
64
62
await t . click ( ( await workbenchPage . getInternalLinkWithManifest ( internalLinkName1 ) ) ) ;
65
63
await t . expect ( workbenchPage . scrolledEnablementArea . visible ) . ok ( 'enablement area is not visible after clicked' ) ;
66
64
65
+ // Error when github upload .zip with relative path in .md
66
+ // const imageExternalPath = 'RedisInsight screen external';
67
+ // const imageRelativePath = 'RedisInsight screen relative';
67
68
// Verify that user can see image in custom tutorials by providing absolute external path in md file
68
- const imageExternal = await workbenchPage . getTutorialImageByAlt ( imageExternalPath ) ;
69
- await workbenchPage . waitUntilImageRendered ( imageExternal ) ;
70
- const imageExternalHeight = await imageExternal . getStyleProperty ( 'height' ) ;
71
- await t . expect ( parseInt ( imageExternalHeight . replace ( / [ ^ \d ] / g, '' ) ) ) . gte ( 150 ) ;
72
-
69
+ // const imageExternal = await workbenchPage.getTutorialImageByAlt(imageExternalPath);
70
+ // await workbenchPage.waitUntilImageRendered(imageExternal);
71
+ // const imageExternalHeight = await imageExternal.getStyleProperty('height');
72
+ // await t.expect(parseInt(imageExternalHeight.replace(/[^\d]/g, ''))).gte(150);
73
73
// Verify that user can see image in custom tutorials by providing relative path in md file
74
- // Error when github upload .zip with relative path in .md
75
74
// const imageRelative = await workbenchPage.getTutorialImageByAlt(imageRelativePath);
76
75
// await workbenchPage.waitUntilImageRendered(imageRelative);
77
76
// const imageRelativeHeight = await imageRelative.getStyleProperty('height');
0 commit comments