Skip to content

← All questions

Can two projects share one page object, or do we copy the file and live with it?

Asked 6,710 views2 answers

We run two projects against the same design system: same header, same login form, same data grid, different products around them. The login page object is now duplicated in projects/storefront/pages/ and projects/admin/pages/, and they have already drifted.

Is there a supported way to share the class, something at the workspace level maybe, or is copying the intended answer?

asked by Nikhil Sane487 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related