Skip to content
This repository was archived by the owner on Mar 17, 2020. It is now read-only.

Conversation

javigomez
Copy link
Contributor

  • Move login Step and Page to the current Architecture Tests pattern that we are following
  • Update Content and Users to the changes in login step object
  • Implement "joomla is installed" step to check if joomla has a configuration.php file

<?php echo JText::_('JGLOBAL_USERNAME'); ?>
</label>
</span>
<input name="username" tabindex="1" id="mod-login-username" type="text" class="input-medium" placeholder="<?php echo JText::_('JGLOBAL_USERNAME'); ?>" size="15" autofocus="true" data-tests="username"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm removing this HTML5 attribute that was added with this idea: joomla/joomla-cms#10589

But the current agreement is that we are not going to use this attributes unless is really needed. So for the moment we will use the existing IDs for locating the elements and use the AdministratorLogin Page Object to store the locators.


/**
* @Then I should see the administrator dashboard
* @When I see the administrator dashboard
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could add a regex here or just add the two gherkin sentences that will call the Step method. See: http://codeception.com/docs/07-BDD#step-definitions

I took the option of adding the two sentences.

@pritalpatel
Copy link
Contributor

@javigomez this PR was not possible to run directly. So, I have add some code changes based on my above comments here javigomez#2
Please merge if you think changes are correct. 😄

# Conflicts:
#	tests/_support/Page/Acceptance/Administrator/LoginPage.php
@yvesh yvesh merged commit 27a5512 into joomla-projects:staging Jul 25, 2016
@yvesh
Copy link
Contributor

yvesh commented Jul 25, 2016

Thank you @javigomez

yvesh pushed a commit that referenced this pull request Jun 17, 2017
* codestyle

* code style

* codestyle

* codestyle

* codestyle

* thanks @wojsmol

* corrections - thanks @Quy

* corrections - thanks @Quy

* oops

* make @Quy happy

* Update article.xml

* Remove space

* Update config.xml (#14)

* Update filter.xml (#15)

* Update config.xml (#16)

* Update profile.xml (#17)

* Update application.xml (#18)

* Update article.xml (#19)

* Update filter_articles.xml (#20)

* Update config.xml (#24)

* Update config.xml (#23)

* Update filter_fields.xml (#22)

* Update filter_featured.xml (#21)

* Update override.xml (#25)

* Update config.xml

* Update config.xml (#26)

* Update itemadmin_alias.xml (#30)

* Update itemadmin.xml (#29)

* Update item.xml (#27)

* Update item_alias.xml (#28)

* Update itemadmin_url.xml (#31)

* Update module.xml (#32)

* Update plugin.xml (#33)

* Update config.xml (#34)

* Update link.xml (#35)

* Update config.xml (#36)

* Update style.xml (#38)

* Update config.xml (#37)

* Update note.xml (#42)

* Update group.xml (#41)

* Update filter_debuggroup.xml (#40)

* Update config.xml (#39)

* corrections for @andrepereiradasilva

* gotya
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants