Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 5ab99c15 authored by Mihai BOZ's avatar Mihai BOZ
Browse files

fixed typo

parent f086d87c
No related branches found
No related tags found
No related merge requests found
Pipeline #258014 failed
......@@ -9,7 +9,6 @@ import org.openqa.selenium.support.pagefactory.AjaxElementLocatorFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import pages.administration.editResourcesPage.editResourceDocumentPage.SelectResourceDocumentDialog;
import rest.ResourceClient;
/**
* Common Page object for the Subresource Document configuration section. This contains the locators of the page and the methods for the behaviour of the page
......@@ -50,7 +49,7 @@ public class CommonDocumentConfigurationComponent extends DComponent {
}
public SelectResourceDocumentDialog clickOnSelectRefenceBtn(){
public SelectResourceDocumentDialog clickOnSelectReferenceBtn() {
weToDButton(selectReferenceBtn).click();
return new SelectResourceDocumentDialog(driver);
}
......
......@@ -530,7 +530,7 @@ public class EditResourcePgTests extends SeleniumTest {
//Select resource and document which will use as a reference the shared document
editResourcePage.selectDomain(domainModel, groupModel, resourceModelOasis1UsesReference);
editResourceDocumentPage = editResourcePage.getResourceDetailsTab().clickOnEditDocument();
SelectResourceDocumentDialog selectResourceDocumentDialog = editResourceDocumentPage.getDocumentConfigurationSection().clickOnSelectRefenceBtn();
SelectResourceDocumentDialog selectResourceDocumentDialog = editResourceDocumentPage.getDocumentConfigurationSection().clickOnSelectReferenceBtn();
selectResourceDocumentDialog.selectResourceReferenceByResourceIdentifier(resourceModelOasis1ToBeShared.getIdentifierValue());
editResourceDocumentPage.clickOnSave();
soft.assertEquals(editResourceDocumentPage.getDocumentConfigurationSection().getReferenceDocumentName(), resourceModelOasis1ToBeShared.getIdentifierValue(), "Wrong reference name");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment