jdi-testing / jdn

0 stars 2 forks source link

JND Template: The unexpected changing PO file with modified jdiLightTemplate.json #36

Open SSN-SPB opened 4 years ago

SSN-SPB commented 4 years ago

The changing the jdiLightTemplate.json as folow: from { "package": "", "siteName": "",

to { "package": "UPPER_CASE_SNAKE_CASE", "siteName": "",

affects the downloaded PO files as follow:

New actual header of the generated PO file

.. package UPPER_CASE_SNAKE_CASE.pages;

import com.epam.jdi.light.elements.pageobjects.annotations.locators.; import com.epam.jdi.light.elements.composite.; import com.epam.jdi.light.elements.complex.; import com.epam.jdi.light.elements.common.; import com.epam.jdi.light.elements.complex.dropdown.; import com.epam.jdi.light.elements.complex.table.; import com.epam.jdi.light.ui.html.elements.complex.; import com.epam.jdi.light.ui.html.elements.common.; import UPPER_CASE_SNAKE_CASE.sections.*;

..

The initial header of the generated PO file

package io.github.jditesting.pages;

import com.epam.jdi.light.elements.pageobjects.annotations.locators.; import com.epam.jdi.light.elements.composite.; import com.epam.jdi.light.elements.complex.; import com.epam.jdi.light.elements.common.; import com.epam.jdi.light.elements.complex.dropdown.; import com.epam.jdi.light.elements.complex.table.; import com.epam.jdi.light.ui.html.elements.complex.; import com.epam.jdi.light.ui.html.elements.common.; import io.github.jditesting.sections.*;

Expected: changing either ignored or affects the PO file as expected

SSN-SPB commented 4 years ago

Blocked by https://github.com/jdi-testing/jdn/issues/67