Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The PageObjects for Home page are same for modes 'JDI UI'/Selenium/Selenide #25

Open
SSN-SPB opened this issue May 6, 2020 · 1 comment

Comments

@SSN-SPB
Copy link

SSN-SPB commented May 6, 2020

Logged user;
The PageObject files for Home page are same for modes 'JDI UI'/Selenium/Selenide

It has the same content see below: could you confirm that this it the expected result,please:

package io.github.jditesting.pages;

import com.epam.jdi.uitests.web.selenium.elements.common.;
import com.epam.jdi.uitests.web.selenium.elements.complex.
;
import com.epam.jdi.uitests.web.selenium.elements.composite.;
import com.epam.jdi.uitests.web.selenium.elements.composite.WebPage;
import com.epam.jdi.uitests.web.selenium.elements.pageobjects.annotations.objects.
;
import com.epam.jdi.uitests.web.selenium.elements.pageobjects.annotations.simple.;
import com.epam.jdi.uitests.web.selenium.elements.pageobjects.annotations.FindBy;
import io.github.jditesting.sections.
;

public class HomePage extends WebPage {
@css("header") public Header header;
@css("footer") public Footer footer;
@css("[name='main-title']") public Label mainTitle;
@css(".main-txt") public Text jdiText;
@css(".sidebar-menu") public Menu sidebarMenu;

}

Step to reproduce:
a) Generate pages ref procedure below
1 Navigate and login to https://jdi-testing.github.io/jdi-light/index.html with valid user
2 Open the Developer console (F12) and select JDN tab
3 Within menu "Generate" click ‘Cogwheel’ button within 'Generate ' "Cogwheel" ' double button
4 Ensure that 'JDI UI'/Selenium/Selenide is selected
5 Within menu "Generate" click ‘ArrowLeft’ button within 'ArrowLeft'Setting' double button
6 Press the button 'Generate' and Check the list of generated files
7 Download files and check the Downloaded files
b) Compare the prepared files

Expected:
Files are different

Actual:
Files are the same. See above.

@SSN-SPB
Copy link
Author

SSN-SPB commented Jul 20, 2020

Reproduced 2020/07/20
@ViktarR
@WahlbergRu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ToDo
Development

No branches or pull requests

2 participants