Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix(test): fix broker configuration in acceptance tests (#10321)
Browse files Browse the repository at this point in the history
Refs: MON-11182
  • Loading branch information
kduret authored and zguennoune02 committed Oct 19, 2021
1 parent 9437c42 commit ee09fa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/bootstrap/BrokerConfigurationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function iAddACustomOutput()
$this->assertFind('css', 'table.ToolbarTable.table a.btc.bt_success')->click();
$page = $this->currentPage = new BrokerConfigurationPage($this);
$this->currentPage->setProperties($this->initialProperties);
$this->assertFind('css', '#c4')->click();
$this->assertFind('css', '#c3')->click();
$this->selectInList('#block_output', 'Generic - Stream connector');
$this->assertFind('css', 'a#add_output.btc.bt_success')->click();
$this->currentPage;
Expand Down
2 changes: 1 addition & 1 deletion features/bootstrap/InfluxdbContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function aCentreonServerWithInfluxDB()
public function anInfluxdbOutputIsProperlyConfigured()
{
$this->visit('main.php?p=60909&o=c&id=1');
$this->assertFind('css', 'li#c4 > a:nth-child(1)')->click();
$this->assertFind('css', 'li#c3 > a:nth-child(1)')->click();
$this->assertFind('css', 'select#block_output')->selectOption('InfluxDB - Storage - InfluxDB');
$this->assertFind('css', 'a#add_output')->click();
sleep(5);
Expand Down

0 comments on commit ee09fa8

Please sign in to comment.