mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Set profiledir on OSX tests
This commit is contained in:
parent
3fe62b1be0
commit
c0d8324642
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ describe("webdriver", () => {
|
|||
const newProfiles = fs.readdirSync(rootDir).map(p => path.join(rootDir, p))
|
||||
.filter(p => p.match("moz") && !profiles.includes(p))
|
||||
|
||||
// Tridactyl's tmp profile detection is broken on windows
|
||||
if (os.platform() == "win32") {
|
||||
// Tridactyl's tmp profile detection is broken on windows and OSX
|
||||
if (["win32", "darwin"].includes(os.platform())) {
|
||||
await sendKeys(driver, `:set profiledir ${newProfiles[0]}<CR>`)
|
||||
await driver.sleep(1000)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue