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

JDN The external link added into the SiteUrls.json doesn't produce separate pageobject java class and pageobject.zip is not generated #74

Open
SSN-SPB opened this issue Jul 24, 2020 · 0 comments
Labels
bug Something isn't working JDN RulesJDN

Comments

@SSN-SPB
Copy link

SSN-SPB commented Jul 24, 2020

The external link added into the SiteUrls.json doesn't produce separate pageobject java class and pageobject.zip is not genenerated

Preconditions:
1 JDN plugin is installed
2 The test page is available https://jdi-testing.github.io/jdi-light/index.html. Target subpages: Home; Contact form; Metals & Colors;
3 The repository https://github.com/jdi-examples/jdn-with-jdi-light is cloned or downloaded locally
4 The valid user is logged to site

Steps to reproduce:
1 Navigate to https://jdi-testing.github.io/jdi-light/index.html and open the Developer console (F12)
2 Select JDN tab
3 Check the button 'Generate several tables'
4 Within menu "Generate" click 'Load urls list'
5 Select cloned JDN folder jdn-with-jdi-light-master\rules
6 Update the ile SiteUrls.json by adding an external link. e.g.
{
"urlsList": [
"https://jdi-testing.github.io/jdi-light/index.html",
"https://jdi-testing.github.io/jdi-light/contacts.html",
"https://jdi-testing.github.io/jdi-light/metals-colors.html",
"https://mail.ru"
]
}

7 Select and open file SiteUrls.json
8 Check 'Generate several tables'
9 Generate page objects

Expected result:

  1. The following are generated:
    pageobject.zip
    the four separate Java class for each link
  2. The pageObject java class can be downloaded

Actual result:

  1. The pageobject.zip file is not genenerated
  2. The pageObject java class can not be downloaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working JDN RulesJDN
Projects
None yet
Development

No branches or pull requests

4 participants