Skip to content

Convention-based loading of pages to sites #77

@chaganiu

Description

@chaganiu

I'd like to get an opinion on loading pages to sites based on convetion.

If we were to enforce a directory structure (and namespace) like this:

- PageObjects
  - SiteName
    - PageName

and a config structure like this:

{
  "sites": {
    "siteName": {
      "pageName": "https://url.of.page.com"
    }
  }
}

we could then rely on the fully qualified namespace PageObjects.SiteName.PageName to add pages to a site and also look up the URLs for the site.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions