Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
code.vt.edu will be down for maintenance from 0530-0630 EDT Wednesday, April 9th
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
31802a66
Commit
31802a66
authored
9 years ago
by
Alessandro Verdura
Browse files
Options
Downloads
Patches
Plain Diff
PR feedback
TNL-925
parent
6d9cfdcd
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cms/static/sass/views/_import.scss
+1
-1
1 addition, 1 deletion
cms/static/sass/views/_import.scss
common/test/acceptance/tests/studio/test_import_export.py
+4
-13
4 additions, 13 deletions
common/test/acceptance/tests/studio/test_import_export.py
with
5 additions
and
14 deletions
cms/static/sass/views/_import.scss
+
1
−
1
View file @
31802a66
...
...
@@ -187,8 +187,8 @@
&
.item-progresspoint-success
{
.item-progresspoint-success-date
{
@include
margin-left
(
$baseline
/
4
);
display
:
none
;
margin-left
:
5px
;
}
&
.is-complete
{
...
...
This diff is collapsed.
Click to expand it.
common/test/acceptance/tests/studio/test_import_export.py
+
4
−
13
View file @
31802a66
...
...
@@ -184,11 +184,13 @@ class ImportTestMixin(object):
self
.
import_page
.
upload_tarball
(
self
.
tarball_name
)
self
.
import_page
.
wait_for_upload
()
def
test_import_timestamp
_value
(
self
):
def
test_import_timestamp
(
self
):
"""
Scenario: I perform a course / library import
On import success, the page displays a UTC timestamp
On import success, the page displays a UTC timestamp previously not visible
And if I refresh the page, the timestamp is still displayed
"""
self
.
assertFalse
(
self
.
import_page
.
is_timestamp_visible
())
self
.
import_page
.
upload_tarball
(
self
.
tarball_name
)
self
.
import_page
.
wait_for_upload
()
...
...
@@ -199,17 +201,6 @@ class ImportTestMixin(object):
self
.
assertEqual
(
utc_now
.
strftime
(
'
%m/%d/%Y
'
),
import_date
)
self
.
assertEqual
(
utc_now
.
strftime
(
'
%H:%M
'
),
import_time
)
def
test_import_timestamp_visibility
(
self
):
"""
Scenario: I perform a course / library import
On import success, the page displays a timestamp previously not visible
And if I refresh the page, the timestamp is still displayed
"""
self
.
assertFalse
(
self
.
import_page
.
is_timestamp_visible
())
self
.
import_page
.
upload_tarball
(
self
.
tarball_name
)
self
.
import_page
.
wait_for_upload
()
self
.
assertTrue
(
self
.
import_page
.
is_timestamp_visible
())
self
.
import_page
.
visit
()
self
.
import_page
.
wait_for_tasks
(
completed
=
True
)
self
.
assertTrue
(
self
.
import_page
.
is_timestamp_visible
())
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment