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

Duplicate strings in PageObjects file when working from gui #169

Closed
Semen-kisliy opened this issue Mar 14, 2019 · 1 comment
Closed

Duplicate strings in PageObjects file when working from gui #169

Semen-kisliy opened this issue Mar 14, 2019 · 1 comment
Labels

Comments

@Semen-kisliy
Copy link

I've created page in pages folder from gui, as the PageObjects required. After filling it looks like this in python file:
pic

In file is about 30 elements and after some obscure reasons, after pressing "Save", or deleting elements from gui, there are appears additional strings in the top of the file:
pic2

They appears only in *.py file, not in gui. And in fact, this strings are duplicates of already existing ones.
I've notieced this after I've deleted one string from gui, pressed "Save", reload page and this string reveals again.

Maybe it's expected behavior, but not sure.

@luciano-renzi
Copy link
Member

Nice find! the lines that included 'import' were throwing the parser off.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants