Skip to content

Commit

Permalink
Merge branch '4.0-dev' into j4/query/articles/assetid
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeutz committed Oct 12, 2019
2 parents 188d75b + 8bcc8d9 commit d8903f8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ steps:
- bash tests/Codeception/drone-api-run.sh "$(pwd)"

- name: analysis4x
image: rips/rips-cli:1.2.1
image: rips/rips-cli:3.2.2
depends_on: [ api-tests ]
when:
repo:
Expand All @@ -248,10 +248,10 @@ steps:
- 4.0-dev
commands:
- export RIPS_BASE_URI='https://api.rips.joomla.org'
- rips-cli rips:scan:start -a 3 -t 1 -R -k -p $(pwd) -t 1 -T $DRONE_REPO_NAMESPACE-$DRONE_BRANCH || { echo "Please contact the security team at security@joomla.org"; exit 1; }
- rips-cli rips:scan:start -a 2 -t 1 -R -k -p $(pwd) -t 1 -T $DRONE_REPO_NAMESPACE-$DRONE_BRANCH || { echo "Please contact the security team at security@joomla.org"; exit 1; }
environment:
RIPS_USERNAME:
from_secret: RIPS_USERNAME
RIPS_EMAIL:
from_secret: RIPS_EMAIL
RIPS_PASSWORD:
from_secret: RIPS_PASSWORD

Expand Down Expand Up @@ -301,6 +301,6 @@ services:

---
kind: signature
hmac: f17f253b02d7a16535d706a31f99d678dcdc595d5bc2ca1e8c2889c3eae2a51b
hmac: f9e707b8a9668a599058c4fa59cd7325b5a9978c7ecfe5e41b61b59c0a2b2724

...
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
position: fixed;
top: 0;
left: 0;
z-index: 1070;
z-index: 1049;
display: table;
width: 100%;
height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion tests/Codeception/acceptance.suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ modules:
window_size: false
capabilities:
'goog:chromeOptions':
args: ["headless", "disable-gpu", "no-sandbox", "window-size=1920x1080"]
args: ["headless", "disable-gpu", "no-sandbox", "window-size=1920x1080", "--disable-dev-shm-usage"]
name: 'jane doe' # Name for the Administrator
username: 'admin' # UserName for the Administrator
password: 'admin' # Password for the Administrator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,18 +490,19 @@ public function renameFile(Media $I)
$I->amOnPage(MediaListPage::$url . $this->testDirectory);
$I->uploadFile('com_media/' . $testFileName);
$I->waitForElement($testFileItem);
$I->wait(1);
$I->clickOnActionInMenuOf($testFileName, MediaListPage::$renameAction);
$I->waitForElement(MediaListPage::$renameInputField);
$I->seeElement(MediaListPage::$renameInputField);
$I->seeElement(MediaListPage::$modalConfirmButton);

// Sometimes the modal is still fading in
$I->wait(0.5);
$I->wait(1);
$I->fillField(MediaListPage::$renameInputField, 'test-image-1-renamed');
$I->click(MediaListPage::$modalConfirmButton);

// Ensure the modal has closed
$I->wait(0.5);
$I->wait(1);
$I->seeSystemMessage('Item renamed.');
$I->dontSeeElement($testFileItem);
$I->seeElement(MediaListPage::item('test-image-1-renamed.png'));
Expand Down Expand Up @@ -559,18 +560,19 @@ public function renameFolder(Media $I)
$I->createDirectory('images/' . $this->testDirectory . '/' . $testFolderName);
$I->amOnPage(MediaListPage::$url . $this->testDirectory);
$I->waitForElement($testFolderItem);
$I->wait(1);
$I->clickOnActionInMenuOf($testFolderName, MediaListPage::$renameAction);
$I->waitForElement(MediaListPage::$renameInputField);
$I->seeElement(MediaListPage::$renameInputField);
$I->seeElement(MediaListPage::$modalConfirmButton);

// Sometimes the modal is still fading in
$I->wait(0.5);
$I->wait(1);
$I->fillField(MediaListPage::$renameInputField, $testFolderName . '-renamed');
$I->click(MediaListPage::$modalConfirmButton);

// Ensure the modal has closed
$I->wait(0.5);
$I->wait(1);
$I->seeSystemMessage('Item renamed.');
$I->dontSeeElement($testFolderItem);
$I->seeElement(MediaListPage::item($testFolderName . '-renamed'));
Expand Down

0 comments on commit d8903f8

Please sign in to comment.