testcentricity_mobile 4.0.1 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0905d797751e541ce6f8a2c6c6dd26d5d5584e628f163628a210b9a5798bcf1
4
- data.tar.gz: 53ae41335c32637957051f14aeb2641c6d8fd3e8b3dd439a11097bd7ec035043
3
+ metadata.gz: 7b1da49ff47653a52199d5b9f72191dd4c23a109325daee033af966272f5086c
4
+ data.tar.gz: d76708fc1c3384a5b7d98f7212212a3a2892fe112f50ac24343b58e763643ee4
5
5
  SHA512:
6
- metadata.gz: 1d7a071d804e24f74c6933cf6f747893ebaef6a7b185f8182cc671b3ac9700b366da763ba0c1ca76e5392341c996ad0c51c6df23ca6269aeb5b237196e00f1f4
7
- data.tar.gz: dccfa0b3227f0d87025b1cd69236f739f1c2802ed7a2ce076312c07e4b107e2022a4db50401f8b5d0163a22792b38d27831c469b79ed240ea5be6b6d18c5dbaf
6
+ metadata.gz: 2270f5e563176336d880a745c89a698bef717a44185fbe042066b2d463fa265dd6f567465049868eb9d2489062909716b2dffe41a7aff44c312142e3cd53c3b4
7
+ data.tar.gz: 9069b335fe5928aa03f3ed17e3aa803dd2b65dec9e0756dfa870bccf7ba090f67213581580119ca050a666666f74f1c32a5e22d11b553dd9e01a5e7cda2075a9
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
4
 
5
+ ## [4.0.2] - 27-MAR-2024
6
+
7
+ ### Changed
8
+
9
+ * Updated `selenium-webdriver` gem to version 4.19.0.
10
+
11
+
5
12
  ## [4.0.0] - 26-MAR-2024
6
13
 
7
14
  ### Fixed
data/README.md CHANGED
@@ -310,9 +310,11 @@ Refer to the [Speeding Up Tests With Deep Links](https://appiumpro.com/editions/
310
310
  A `ScreenSection` is a collection of **UI Elements** that may appear in multiple locations on a screen, or on multiple
311
311
  screens in an app. It is a collection of **UI Elements** that represent a conceptual area of functionality, like a menu,
312
312
  a navigation bar, or a search capability. **UI Elements** and functional behavior are confined to the scope of a `ScreenSection`
313
- object.
313
+ object. A `ScreenSection` may contain other `ScreenSection` objects.
314
314
 
315
- A `ScreenSection` may contain other `ScreenSection` objects.
315
+ Below is an example of a footer navigation bar feature that is common to multiple screen -
316
+
317
+ ![Navigation Footer](https://raw.githubusercontent.com/TestCentricity/testcentricity_mobile/main/.github/images/NavBar1.png "Navigation Footer") ![Navigation Footer](https://raw.githubusercontent.com/TestCentricity/testcentricity_mobile/main/.github/images/NavBar2.png "Navigation Footer")
316
318
 
317
319
 
318
320
  ### Defining a ScreenSection
@@ -687,38 +689,44 @@ The `verify_ui_states` method also supports I18n string translations using prope
687
689
  :translate_capitalize String
688
690
  :translate_titlecase String
689
691
 
690
- The example below depicts the usage of the `verify_ui_states` method to verify that the captions for menu items are correctly
691
- translated.
692
+ The example below depicts the usage of the `verify_ui_states` method to verify that the captions for navigation menu items
693
+ are correctly translated.
694
+
695
+ ![Localized UI](https://raw.githubusercontent.com/TestCentricity/testcentricity_mobile/main/.github/images/LocalizedUI.png "Localized UI")
692
696
  ```ruby
693
697
  def verify_menu
694
698
  ui = {
695
- account_settings_item => {
699
+ menu_title => {
700
+ visible: true,
701
+ caption: { translate: 'NavMenu.title' }
702
+ },
703
+ recipes_item => {
696
704
  visible: true,
697
- caption: { translate: 'Settings.account' }
705
+ caption: { translate: 'NavMenu.recipes' }
698
706
  },
699
- help_item => {
707
+ browser_item => {
700
708
  visible: true,
701
- caption: { translate: 'Settings.help' }
709
+ caption: { translate: 'NavMenu.browser' }
702
710
  },
703
- feedback_item => {
711
+ groceries_item => {
704
712
  visible: true,
705
- caption: { translate: 'Settings.feedback' }
713
+ caption: { translate: 'NavMenu.groceries' }
706
714
  },
707
- legal_item => {
715
+ pantry_item => {
708
716
  visible: true,
709
- caption: { translate: 'Settings.legal' }
717
+ caption: { translate: 'NavMenu.pantry' }
710
718
  },
711
- configurations_item => {
719
+ meals_item => {
712
720
  visible: true,
713
- caption: { translate: 'Settings.configurations' }
721
+ caption: { translate: 'NavMenu.meals' }
714
722
  },
715
- contact_us_item => {
723
+ menus_item => {
716
724
  visible: true,
717
- caption: { translate: 'Settings.contact' }
725
+ caption: { translate: 'NavMenu.menus' }
718
726
  },
719
- sign_out_item => {
727
+ settings_item => {
720
728
  visible: true,
721
- caption: { translate: 'Settings.sign_out' }
729
+ caption: { translate: 'NavMenu.settings' }
722
730
  }
723
731
  }
724
732
  verify_ui_states(ui)
@@ -730,38 +738,41 @@ menu example above, the translated strings for English, Spanish, and French are
730
738
  **English** - `en.yml`
731
739
  ```yaml
732
740
  en:
733
- Settings:
734
- account: 'Account'
735
- help: 'Help'
736
- feedback: 'Feedback'
737
- legal: 'Legal'
738
- configurations: 'Configurations'
739
- contact: 'Contact'
740
- sign_out: 'Sign out'
741
+ NavMenu:
742
+ title: 'Main Menu'
743
+ recipes: 'Recipes'
744
+ browser: 'Browser'
745
+ groceries: 'Groceries'
746
+ pantry: 'Pantry'
747
+ meals: 'Meals'
748
+ menus: 'Menus'
749
+ settings: 'Settings'
741
750
  ```
742
751
  **Spanish** - `es.yml`
743
752
  ```yaml
744
753
  es:
745
- Settings:
746
- account: 'Cuenta'
747
- help: 'Ayuda'
748
- feedback: 'Comentario'
749
- legal: 'Legal'
750
- configurations: 'Configuraciones'
751
- contact: 'Contacto'
752
- sign_out: 'Cerrar sesión'
754
+ NavMenu:
755
+ title: 'Menú principal'
756
+ recipes: 'Recetas'
757
+ browser: 'Navegador'
758
+ groceries: 'Compra'
759
+ pantry: 'Despensa'
760
+ meals: 'Comidas'
761
+ menus: 'Menús'
762
+ settings: 'Ajustes'
753
763
  ```
754
764
  **French** - `fr.yml`
755
765
  ```yaml
756
766
  fr:
757
- Settings:
758
- account: 'Compte'
759
- help: 'Aide'
760
- feedback: 'Retour'
761
- legal: 'Légal'
762
- configurations: 'Configurations'
763
- contact: 'Contact'
764
- sign_out: 'Fermer la session'
767
+ NavMenu:
768
+ title: 'Menu principal'
769
+ recipes: 'Recettes'
770
+ browser: 'Navigateur'
771
+ groceries: 'Courses'
772
+ pantry: 'Provisions'
773
+ meals: 'Repas'
774
+ menus: 'Menus'
775
+ settings: 'Réglades'
765
776
  ```
766
777
 
767
778
  Each supported language/locale combination has a corresponding `.yml` file. I18n `.yml` file naming convention uses
@@ -1,3 +1,3 @@
1
1
  module TestCentricityMobile
2
- VERSION = '4.0.1'
2
+ VERSION = '4.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcentricity_mobile
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.J. Mrozinski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-26 00:00:00.000000000 Z
11
+ date: 2024-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - '='
214
214
  - !ruby/object:Gem::Version
215
- version: 4.18.1
215
+ version: 4.19.0
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - '='
221
221
  - !ruby/object:Gem::Version
222
- version: 4.18.1
222
+ version: 4.19.0
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: test-unit
225
225
  requirement: !ruby/object:Gem::Requirement