mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 19:59:37 -06:00
Exchange mktemp command to be compatible with linux and macos
This commit is contained in:
@@ -33,7 +33,6 @@ Feature: Set user specific settings
|
||||
When the user browses to the settings page
|
||||
And the user changes the language to "English"
|
||||
And the user browses to the files page
|
||||
When the user browses to the files page
|
||||
Then the files menu should be listed in language "English"
|
||||
|
||||
Scenario: changing the language only affects one user
|
||||
|
||||
@@ -33,7 +33,6 @@ module.exports = {
|
||||
})
|
||||
})
|
||||
await this
|
||||
.waitForElementVisible('@userMenuBtn')
|
||||
.click('@userMenuBtn')
|
||||
.waitForElementNotVisible('@userMenuContainer')
|
||||
return menu
|
||||
|
||||
@@ -23,7 +23,7 @@ trap clean_up SIGHUP SIGINT SIGTERM
|
||||
if [ -z "$TEST_INFRA_DIRECTORY" ]
|
||||
then
|
||||
cleanup=true
|
||||
testFolder=$(mktemp -d -p .)
|
||||
testFolder=$(mktemp -d)
|
||||
printf "creating folder $testFolder for Test infrastructure setup\n\n"
|
||||
export TEST_INFRA_DIRECTORY=$testFolder/tests
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user