File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ export function contentAssistSuggestionTest(): void {
1616 const yamlFilePath = path . join ( homeDir , yamlFileName ) ;
1717
1818 before ( async function setup ( ) {
19- this . timeout ( 20000 ) ;
19+ this . timeout ( 80000 ) ;
2020 driver = VSBrowser . instance . driver ;
2121 editor = await createCustomFile ( yamlFilePath ) ;
2222 await driver . wait ( async ( ) => {
2323 return await getSchemaLabel ( yamlFileName ) ;
24- } , 18000 ) ;
24+ } , 45000 ) ;
2525 } ) ;
2626
2727 it ( 'Content assist suggests right suggestion' , async function ( ) {
28- this . timeout ( 15000 ) ;
28+ this . timeout ( 45000 ) ;
2929 editor = new TextEditor ( ) ;
3030 await editor . setText ( 'api' ) ;
3131 const contentAssist = await editor . toggleContentAssist ( true ) ;
Original file line number Diff line number Diff line change @@ -18,17 +18,17 @@ export function customTagsTest(): void {
1818 let editorView : EditorView ;
1919
2020 before ( async function setup ( ) {
21- this . timeout ( 20000 ) ;
21+ this . timeout ( 80000 ) ;
2222 driver = VSBrowser . instance . driver ;
2323 editorView = new EditorView ( ) ;
2424 await createCustomFile ( yamlFilePath ) ;
2525 await driver . wait ( async ( ) => {
2626 return await getSchemaLabel ( yamlFileName ) ;
27- } , 18000 ) ;
27+ } , 45000 ) ;
2828 } ) ;
2929
3030 it ( 'YAML custom tags works as expected' , async function ( ) {
31- this . timeout ( 30000 ) ;
31+ this . timeout ( 60000 ) ;
3232
3333 const settingsEditor = await new Workbench ( ) . openSettings ( ) ;
3434 const setting = await settingsEditor . findSetting ( 'Custom Tags' , 'Yaml' ) ;
Original file line number Diff line number Diff line change @@ -22,17 +22,17 @@ export function extensionUIAssetsTest(): void {
2222 let yamlItem : ExtensionsViewItem ;
2323
2424 before ( async function ( ) {
25- this . timeout ( 30000 ) ;
25+ this . timeout ( 100000 ) ;
2626 driver = VSBrowser . instance . driver ;
2727 view = await new ActivityBar ( ) . getViewControl ( 'Extensions' ) ;
2828 sideBar = await view . openView ( ) ;
2929 await driver . wait (
3030 async ( ) => ! ( await sideBar . getContent ( ) . hasProgress ( ) ) ,
31- 10000 ,
31+ 30000 ,
3232 "Progress bar hasn't been hidden within the timeout"
3333 ) ;
3434 // wait a bit for sections to load
35- await new Promise ( ( resolve ) => setTimeout ( resolve , 3000 ) ) ;
35+ await new Promise ( ( resolve ) => setTimeout ( resolve , 10000 ) ) ;
3636 section = await driver . wait (
3737 async ( ) => {
3838 try {
@@ -54,15 +54,15 @@ export function extensionUIAssetsTest(): void {
5454 return null ;
5555 }
5656 } ,
57- 15000 ,
57+ 40000 ,
5858 'Could not find extensions section'
5959 ) ;
6060 await section . expand ( ) ;
6161 yamlItem = await driver . wait (
6262 async ( ) => {
6363 return await section . findItem ( `@installed ${ YamlConstants . YAML_NAME } ` ) ;
6464 } ,
65- 10000 ,
65+ 20000 ,
6666 'There were not visible items available under installed section'
6767 ) ;
6868 } ) ;
You can’t perform that action at this time.
0 commit comments