Disable "Show Local" button, add --disable-file-uploads option and add file operation trace level logs (#6557)
This commit is contained in:
@ -401,7 +401,7 @@ export class CodeServerPage {
|
||||
* Open a file by using menus.
|
||||
*/
|
||||
async openFile(file: string) {
|
||||
await this.navigateMenus(["File", "Open File"])
|
||||
await this.navigateMenus(["File", "Open File..."])
|
||||
await this.navigateQuickInput([path.basename(file)])
|
||||
await this.waitForTab(file)
|
||||
}
|
||||
@ -432,7 +432,7 @@ export class CodeServerPage {
|
||||
* it then clicking the match from the results.
|
||||
*/
|
||||
async executeCommandViaMenus(command: string) {
|
||||
await this.navigateMenus(["View", "Command Palette"])
|
||||
await this.navigateMenus(["View", "Command Palette..."])
|
||||
|
||||
await this.page.keyboard.type(command)
|
||||
|
||||
@ -488,19 +488,19 @@ export class CodeServerPage {
|
||||
// splitting them into two steps each we can cancel before running the
|
||||
// action.
|
||||
steps.push({
|
||||
fn: () => this.page.hover(`${selector} :text("${item}")`, { trial: true }),
|
||||
fn: () => this.page.hover(`${selector} :text-is("${item}")`, { trial: true }),
|
||||
name: `${item}:hover:trial`,
|
||||
})
|
||||
steps.push({
|
||||
fn: () => this.page.hover(`${selector} :text("${item}")`, { force: true }),
|
||||
fn: () => this.page.hover(`${selector} :text-is("${item}")`, { force: true }),
|
||||
name: `${item}:hover:force`,
|
||||
})
|
||||
steps.push({
|
||||
fn: () => this.page.click(`${selector} :text("${item}")`, { trial: true }),
|
||||
fn: () => this.page.click(`${selector} :text-is("${item}")`, { trial: true }),
|
||||
name: `${item}:click:trial`,
|
||||
})
|
||||
steps.push({
|
||||
fn: () => this.page.click(`${selector} :text("${item}")`, { force: true }),
|
||||
fn: () => this.page.click(`${selector} :text-is("${item}")`, { force: true }),
|
||||
name: `${item}:click:force`,
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user