Promium 3.3.26__tar.gz → 3.3.29__tar.gz

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.
Files changed (59) hide show
  1. {Promium-3.3.26 → Promium-3.3.29}/PKG-INFO +11 -1
  2. {Promium-3.3.26 → Promium-3.3.29}/Promium.egg-info/PKG-INFO +11 -1
  3. Promium-3.3.29/doc/conf.py +41 -0
  4. {Promium-3.3.26 → Promium-3.3.29}/promium/plugin.py +4 -1
  5. {Promium-3.3.26 → Promium-3.3.29}/setup.py +1 -1
  6. {Promium-3.3.26 → Promium-3.3.29}/tests/test_enviroment.py +2 -3
  7. Promium-3.3.26/doc/conf.py +0 -280
  8. {Promium-3.3.26 → Promium-3.3.29}/LICENSE +0 -0
  9. {Promium-3.3.26 → Promium-3.3.29}/Promium.egg-info/SOURCES.txt +0 -0
  10. {Promium-3.3.26 → Promium-3.3.29}/Promium.egg-info/dependency_links.txt +0 -0
  11. {Promium-3.3.26 → Promium-3.3.29}/Promium.egg-info/entry_points.txt +0 -0
  12. {Promium-3.3.26 → Promium-3.3.29}/Promium.egg-info/requires.txt +0 -0
  13. {Promium-3.3.26 → Promium-3.3.29}/Promium.egg-info/top_level.txt +0 -0
  14. {Promium-3.3.26 → Promium-3.3.29}/README.rst +0 -0
  15. {Promium-3.3.26 → Promium-3.3.29}/doc/__init__.py +0 -0
  16. {Promium-3.3.26 → Promium-3.3.29}/promium/__init__.py +0 -0
  17. {Promium-3.3.26 → Promium-3.3.29}/promium/assertions.py +0 -0
  18. {Promium-3.3.26 → Promium-3.3.29}/promium/base.py +0 -0
  19. {Promium-3.3.26 → Promium-3.3.29}/promium/browsers.py +0 -0
  20. {Promium-3.3.26 → Promium-3.3.29}/promium/common.py +0 -0
  21. {Promium-3.3.26 → Promium-3.3.29}/promium/device_config.py +0 -0
  22. {Promium-3.3.26 → Promium-3.3.29}/promium/elements/__init__.py +0 -0
  23. {Promium-3.3.26 → Promium-3.3.29}/promium/elements/checkbox.py +0 -0
  24. {Promium-3.3.26 → Promium-3.3.29}/promium/elements/drop_downs.py +0 -0
  25. {Promium-3.3.26 → Promium-3.3.29}/promium/elements/frame.py +0 -0
  26. {Promium-3.3.26 → Promium-3.3.29}/promium/elements/input_field.py +0 -0
  27. {Promium-3.3.26 → Promium-3.3.29}/promium/elements/link.py +0 -0
  28. {Promium-3.3.26 → Promium-3.3.29}/promium/elements/multiselect_listbox.py +0 -0
  29. {Promium-3.3.26 → Promium-3.3.29}/promium/elements/radio_button.py +0 -0
  30. {Promium-3.3.26 → Promium-3.3.29}/promium/elements/textarea_field.py +0 -0
  31. {Promium-3.3.26 → Promium-3.3.29}/promium/elements/upload_button.py +0 -0
  32. {Promium-3.3.26 → Promium-3.3.29}/promium/exceptions.py +0 -0
  33. {Promium-3.3.26 → Promium-3.3.29}/promium/expected_conditions.py +0 -0
  34. {Promium-3.3.26 → Promium-3.3.29}/promium/helpers.py +0 -0
  35. {Promium-3.3.26 → Promium-3.3.29}/promium/logger.py +0 -0
  36. {Promium-3.3.26 → Promium-3.3.29}/promium/support/__init__.py +0 -0
  37. {Promium-3.3.26 → Promium-3.3.29}/promium/support/settings.py +0 -0
  38. {Promium-3.3.26 → Promium-3.3.29}/promium/test_case.py +0 -0
  39. {Promium-3.3.26 → Promium-3.3.29}/promium/waits.py +0 -0
  40. {Promium-3.3.26 → Promium-3.3.29}/setup.cfg +0 -0
  41. {Promium-3.3.26 → Promium-3.3.29}/tests/__init__.py +0 -0
  42. {Promium-3.3.26 → Promium-3.3.29}/tests/config.py +0 -0
  43. {Promium-3.3.26 → Promium-3.3.29}/tests/conftest.py +0 -0
  44. {Promium-3.3.26 → Promium-3.3.29}/tests/pages/__init__.py +0 -0
  45. {Promium-3.3.26 → Promium-3.3.29}/tests/pages/catalog_404_page.py +0 -0
  46. {Promium-3.3.26 → Promium-3.3.29}/tests/pages/catalog_gallery_page.py +0 -0
  47. {Promium-3.3.26 → Promium-3.3.29}/tests/settings/__init__.py +0 -0
  48. {Promium-3.3.26 → Promium-3.3.29}/tests/settings/test_base.py +0 -0
  49. {Promium-3.3.26 → Promium-3.3.29}/tests/settings/test_chrome.py +0 -0
  50. {Promium-3.3.26 → Promium-3.3.29}/tests/settings/test_edge.py +0 -0
  51. {Promium-3.3.26 → Promium-3.3.29}/tests/settings/test_firefox.py +0 -0
  52. {Promium-3.3.26 → Promium-3.3.29}/tests/settings/test_ie.py +0 -0
  53. {Promium-3.3.26 → Promium-3.3.29}/tests/settings/test_opera.py +0 -0
  54. {Promium-3.3.26 → Promium-3.3.29}/tests/test_catalog_404.py +0 -0
  55. {Promium-3.3.26 → Promium-3.3.29}/tests/test_catalog_gallery.py +0 -0
  56. {Promium-3.3.26 → Promium-3.3.29}/tests/test_requests.py +0 -0
  57. {Promium-3.3.26 → Promium-3.3.29}/tests/test_soft_asserts.py +0 -0
  58. {Promium-3.3.26 → Promium-3.3.29}/tests/test_waits.py +0 -0
  59. {Promium-3.3.26 → Promium-3.3.29}/tests/urls.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Promium
3
- Version: 3.3.26
3
+ Version: 3.3.29
4
4
  Summary: Selenium wrapper for testing Web UI
5
5
  Author: Denis Korytkin, Nataliia Guieva, Roman Zaporozhets, Vladimir Kritov, Oleh Dykusha
6
6
  Project-URL: Home page, https://none
@@ -15,6 +15,16 @@ Classifier: Development Status :: 4 - Beta
15
15
  Classifier: License :: OSI Approved :: MIT License
16
16
  Requires-Python: >=3.10, <4
17
17
  License-File: LICENSE
18
+ Requires-Dist: six>=1.10.0
19
+ Requires-Dist: json_checker>=1.2.1
20
+ Requires-Dist: requests>=2.10.0
21
+ Requires-Dist: py>=1.5.2
22
+ Requires-Dist: pytest>=5.0.0
23
+ Requires-Dist: pytest_rerunfailures>=4.1.0
24
+ Requires-Dist: pytest-forked>=0.2
25
+ Requires-Dist: pytest-instafail>=0.3.0
26
+ Requires-Dist: deepdiff>=5.7.0
27
+ Requires-Dist: selenium>=4.10.0
18
28
 
19
29
  ========================
20
30
  Promium
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Promium
3
- Version: 3.3.26
3
+ Version: 3.3.29
4
4
  Summary: Selenium wrapper for testing Web UI
5
5
  Author: Denis Korytkin, Nataliia Guieva, Roman Zaporozhets, Vladimir Kritov, Oleh Dykusha
6
6
  Project-URL: Home page, https://none
@@ -15,6 +15,16 @@ Classifier: Development Status :: 4 - Beta
15
15
  Classifier: License :: OSI Approved :: MIT License
16
16
  Requires-Python: >=3.10, <4
17
17
  License-File: LICENSE
18
+ Requires-Dist: six>=1.10.0
19
+ Requires-Dist: json_checker>=1.2.1
20
+ Requires-Dist: requests>=2.10.0
21
+ Requires-Dist: py>=1.5.2
22
+ Requires-Dist: pytest>=5.0.0
23
+ Requires-Dist: pytest_rerunfailures>=4.1.0
24
+ Requires-Dist: pytest-forked>=0.2
25
+ Requires-Dist: pytest-instafail>=0.3.0
26
+ Requires-Dist: deepdiff>=5.7.0
27
+ Requires-Dist: selenium>=4.10.0
18
28
 
19
29
  ========================
20
30
  Promium
@@ -0,0 +1,41 @@
1
+ project = 'Promium'
2
+ copyright = '2020, evo.company'
3
+ author = 'Denis Korytkin, Nataliia Guieva, Roman Zaporozhets, Vladimir Kritov, Oleh Dykusha'
4
+
5
+ extensions = [
6
+ 'sphinx.ext.intersphinx',
7
+ 'sphinxemoji.sphinxemoji',
8
+ 'sphinx_autobuild',
9
+ 'myst_parser',
10
+ ]
11
+ intersphinx_mapping = {
12
+ 'python': ('https://docs.python.org/3.7', None),
13
+ }
14
+ templates_path = ['_templates']
15
+ source_suffix = ['.rst', '.md']
16
+ master_doc = 'index'
17
+ source_parsers = {
18
+ '.md': 'recommonmark.parser.CommonMarkParser',
19
+ }
20
+
21
+ html_theme = 'sphinx_rtd_theme'
22
+ html_theme_options = {
23
+ 'display_version': False,
24
+ }
25
+ html_context = {
26
+ 'display_gitlab': True,
27
+ 'gitlab_host': 'gitlab.evo.dev',
28
+ 'gitlab_user': 'qa-automation',
29
+ 'gitlab_ repo': 'qa-automation.git-doc.evo.dev/promium',
30
+ 'gitlab_version': 'master',
31
+ 'conf_py_path': '/source/',
32
+ }
33
+
34
+
35
+ html_static_path = ['_static']
36
+
37
+ html_css_files = [
38
+ 'custom.css',
39
+ ]
40
+
41
+ html_favicon = 'favicon.ico'
@@ -178,7 +178,10 @@ def driver_init(request):
178
178
  except Exception:
179
179
  if alerts != 0:
180
180
  print('')
181
- url = driver.current_url
181
+ try:
182
+ url = driver.current_url
183
+ except Exception as e:
184
+ url = str(e)
182
185
  screenshot = upload_screenshot(driver)
183
186
 
184
187
  if hasattr(request.config, "get_failed_test_command"):
@@ -19,7 +19,7 @@ REQUIREMENTS = [
19
19
 
20
20
  setup(
21
21
  name='Promium',
22
- version='3.3.26',
22
+ version='3.3.29',
23
23
  install_requires=REQUIREMENTS,
24
24
  author='Denis Korytkin, Nataliia Guieva, '
25
25
  'Roman Zaporozhets, Vladimir Kritov, '
@@ -48,9 +48,8 @@ class TestEnvironment():
48
48
 
49
49
  @pytest.mark.env
50
50
  def test_check_doc_command(self, docs_fixture):
51
- os.chdir('doc')
52
- run_command(['make', 'html'])
53
- assert os.path.exists('_build/html/index.html'), 'Not Create doc files'
51
+ run_command(['sphinx-build', '-b', 'html', 'doc', 'public'])
52
+ assert os.path.exists('public/index.html'), 'Not Create doc files'
54
53
 
55
54
  @pytest.mark.env
56
55
  def test_check_publish(self, docs_fixture):
@@ -1,280 +0,0 @@
1
-
2
- import os
3
- from recommonmark.parser import CommonMarkParser
4
-
5
-
6
- def get_version():
7
- try:
8
- file_path = os.path.join(os.path.dirname(os.getcwd()), 'version')
9
- with open(file_path, 'r+') as file:
10
- ver = str(file.read().strip())
11
- print('PROMIUM VERSION:', ver)
12
- return ver
13
- except FileNotFoundError:
14
- print('Not found package version')
15
-
16
-
17
- source_parsers = {
18
- '.md': CommonMarkParser,
19
- }
20
-
21
- source_suffix = ['.rst', '.md']
22
-
23
- extensions = [
24
- 'sphinx.ext.intersphinx',
25
- ]
26
-
27
- intersphinx_mapping = {
28
- "python": ('https://docs.python.org/3', None),
29
- }
30
-
31
- # Add any paths that contain templates here, relative to this directory.
32
- templates_path = ['_templates']
33
-
34
- # The suffix(es) of source filenames.
35
- # You can specify multiple suffix as a list of string:
36
- # source_suffix = ['.rst', '.md']
37
-
38
- # The encoding of source files.
39
- # source_encoding = 'utf-8-sig'
40
-
41
- # The master toctree document.
42
- master_doc = 'index'
43
-
44
- # General information about the project.
45
- project = 'Promium'
46
- copyright = '2017-2018, Evo.company'
47
- author = 'Evo.company'
48
-
49
- # The version info for the project you're documenting, acts as replacement for
50
- # |version| and |release|, also used in various other places throughout the
51
- # built documents.
52
- #
53
- # The short X.Y version.
54
- version = get_version()
55
- # The full version, including alpha/beta/rc tags.
56
- release = get_version()
57
-
58
- # The language for content autogenerated by Sphinx. Refer to documentation
59
- # for a list of supported languages.
60
- #
61
- # This is also used if you do content translation via gettext catalogs.
62
- # Usually you set "language" from the command line for these cases.
63
- language = "ua"
64
-
65
- # There are two options for replacing |today|: either, you set today to some
66
- # non-false value, then it is used:
67
- # today = ''
68
- # Else, today_fmt is used as the format for a strftime call.
69
- # today_fmt = '%B %d, %Y'
70
-
71
- # List of patterns, relative to source directory, that match files and
72
- # directories to ignore when looking for source files.
73
- exclude_patterns = ['_build']
74
-
75
- # The reST default role (used for this markup: `text`) to use for all
76
- # documents.
77
- # default_role = None
78
-
79
- # If true, '()' will be appended to :func: etc. cross-reference text.
80
- # add_function_parentheses = True
81
-
82
- # If true, the current module name will be prepended to all description
83
- # unit titles (such as .. function::).
84
- # add_module_names = True
85
-
86
- # If true, sectionauthor and moduleauthor directives will be shown in the
87
- # output. They are ignored by default.
88
- # show_authors = False
89
-
90
- # The name of the Pygments (syntax highlighting) style to use.
91
- pygments_style = 'sphinx'
92
-
93
- # A list of ignored prefixes for module index sorting.
94
- # modindex_common_prefix = []
95
-
96
- # If true, keep warnings as "system message" paragraphs in the built documents.
97
- # keep_warnings = False
98
-
99
- # If true, `todo` and `todoList` produce output, else they produce nothing.
100
- todo_include_todos = False
101
-
102
-
103
- # -- Options for HTML output ----------------------------------------------
104
-
105
- # The theme to use for HTML and HTML Help pages. See the documentation for
106
- # a list of builtin themes.
107
- html_theme = 'sphinx_rtd_theme'
108
-
109
- # Theme options are theme-specific and customize the look and feel of a theme
110
- # further. For a list of options available for each theme, see the
111
- # documentation.
112
- # html_theme_options = {}
113
-
114
- # Add any paths that contain custom themes here, relative to this directory.
115
- html_theme_path = ["_themes", ]
116
-
117
- # The name for this set of Sphinx documents. If None, it defaults to
118
- # "<project> v<release> documentation".
119
- # html_title = None
120
-
121
- # A shorter title for the navigation bar. Default is the same as html_title.
122
- # html_short_title = None
123
-
124
- # The name of an image file (relative to this directory) to place at the top
125
- # of the sidebar.
126
- # html_logo = None
127
-
128
- # The name of an image file (within the static path) to use as favicon of the
129
- # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
130
- # pixels large.
131
- # html_favicon = None
132
-
133
- # Add any paths that contain custom static files (such as style sheets) here,
134
- # relative to this directory. They are copied after the builtin static files,
135
- # so a file named "default.css" will overwrite the builtin "default.css".
136
- # html_static_path = ['_static']
137
-
138
- # Add any extra paths that contain custom files (such as robots.txt or
139
- # .htaccess) here, relative to this directory. These files are copied
140
- # directly to the root of the documentation.
141
- # html_extra_path = []
142
-
143
- # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
144
- # using the given strftime format.
145
- # html_last_updated_fmt = '%b %d, %Y'
146
-
147
- # If true, SmartyPants will be used to convert quotes and dashes to
148
- # typographically correct entities.
149
- # html_use_smartypants = True
150
-
151
- # Custom sidebar templates, maps document names to template names.
152
- # html_sidebars = {}
153
-
154
- # Additional templates that should be rendered to pages, maps page names to
155
- # template names.
156
- # html_additional_pages = {}
157
-
158
- # If false, no module index is generated.
159
- # html_domain_indices = True
160
-
161
- # If false, no index is generated.
162
- # html_use_index = True
163
-
164
- # If true, the index is split into individual pages for each letter.
165
- # html_split_index = False
166
-
167
- # If true, links to the reST sources are added to the pages.
168
- # html_show_sourcelink = True
169
-
170
- # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
171
- # html_show_sphinx = True
172
-
173
- # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
174
- # html_show_copyright = True
175
-
176
- # If true, an OpenSearch description file will be output, and all pages will
177
- # contain a <link> tag referring to it. The value of this option must be the
178
- # base URL from which the finished HTML is served.
179
- # html_use_opensearch = ''
180
-
181
- # This is the file name suffix for HTML files (e.g. ".xhtml").
182
- # html_file_suffix = None
183
-
184
- # Language to be used for generating the HTML full-text search index.
185
- # Sphinx supports the following languages:
186
- # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
187
- # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'
188
- # html_search_language = 'en'
189
-
190
- # A dictionary with options for the search language support, empty by default.
191
- # Now only 'ja' uses this config value
192
- # html_search_options = {'type': 'default'}
193
-
194
- # The name of a javascript file (relative to the configuration directory) that
195
- # implements a search results scorer. If empty, the default will be used.
196
- # html_search_scorer = 'scorer.js'
197
-
198
- # Output file base name for HTML help builder.
199
- htmlhelp_basename = 'Promiumdoc'
200
-
201
- # -- Options for LaTeX output ---------------------------------------------
202
-
203
- latex_elements = {
204
- # The paper size ('letterpaper' or 'a4paper').
205
- # 'papersize': 'letterpaper',
206
-
207
- # The font size ('10pt', '11pt' or '12pt').
208
- # 'pointsize': '10pt',
209
-
210
- # Additional stuff for the LaTeX preamble.
211
- # 'preamble': '',
212
-
213
- # Latex figure (float) alignment
214
- # 'figure_align': 'htbp',
215
- }
216
-
217
- # Grouping the document tree into LaTeX files. List of tuples
218
- # (source start file, target name, title,
219
- # author, documentclass [howto, manual, or own class]).
220
- latex_documents = [
221
- (master_doc, 'Promium', u'Promium Documentation',
222
- u'evo.company', 'manual'),
223
- ]
224
-
225
- # The name of an image file (relative to this directory) to place at the top of
226
- # the title page.
227
- # latex_logo = None
228
-
229
- # For "manual" documents, if this is true, then toplevel headings are parts,
230
- # not chapters.
231
- # latex_use_parts = False
232
-
233
- # If true, show page references after internal links.
234
- # latex_show_pagerefs = False
235
-
236
- # If true, show URL addresses after external links.
237
- # latex_show_urls = False
238
-
239
- # Documents to append as an appendix to all manuals.
240
- # latex_appendices = []
241
-
242
- # If false, no module index is generated.
243
- # latex_domain_indices = True
244
-
245
-
246
- # -- Options for manual page output ---------------------------------------
247
-
248
- # One entry per manual page. List of tuples
249
- # (source start file, name, description, authors, manual section).
250
- man_pages = [
251
- (master_doc, 'Promium', u'Promium Documentation',
252
- [author], 1)
253
- ]
254
-
255
- # If true, show URL addresses after external links.
256
- # man_show_urls = False
257
-
258
-
259
- # -- Options for Texinfo output -------------------------------------------
260
-
261
- # Grouping the document tree into Texinfo files. List of tuples
262
- # (source start file, target name, title, author,
263
- # dir menu entry, description, category)
264
- texinfo_documents = [
265
- (master_doc, 'Promium', u'Promium Documentation',
266
- author, 'Promium', 'One line description of project.',
267
- 'Miscellaneous'),
268
- ]
269
-
270
- # Documents to append as an appendix to all manuals.
271
- # texinfo_appendices = []
272
-
273
- # If false, no module index is generated.
274
- # texinfo_domain_indices = True
275
-
276
- # How to display URL addresses: 'footnote', 'no', or 'inline'.
277
- # texinfo_show_urls = 'footnote'
278
-
279
- # If true, do not generate a @detailmenu in the "Top" node's menu.
280
- # texinfo_no_detailmenu = False
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes